Part Number Hot Search : 
V1635GS M54672SP MC100EP1 Z100LV 2N3004 MAX4715 HIROSE TM32F
Product Description
Full Text Search
 

To Download R5F36CAMDFA Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 To our customers,
Old Company Name in Catalogs and Other Documents
On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding.
Renesas Electronics website: http://www.renesas.com
April 1st, 2010 Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com) Send any inquiries to http://www.renesas.com/inquiry.
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. When exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. Renesas Electronics products are classified according to the following three quality grades: "Standard", "High Quality", and "Specific". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as "Specific" without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as "Specific" or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is "Standard" unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc. Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anticrime systems; safety equipment; and medical equipment not specifically designed for life support. "Specific": Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. "Standard":
2.
3. 4.
5.
6.
7.
8.
9.
10.
11. 12.
(Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majorityowned subsidiaries. (Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
M16C/6C Group
RENESAS MCU
REJ03B0277-0100 Rev.1.00 Jul.15, 2009
1.
1.1
Overview
Features
The M16C/6C Group microcomputer (MCU) incorporates the M16C/60 Series CPU core and flash memory, employing sophisticated instructions for a high level of efficiency. This MCU has 1 MB of address space, and it is capable of executing instructions at high speed. In addition, the CPU core boasts a multiplier for high-speed operation processing. This MCU consumes little power, and supports operating modes that allow additional power control. The MCU also uses an anti-noise configuration to reduce emissions of electromagnetic noise and is designed to withstand electromagnetic interference (EMI). By integrating many of the peripheral functions, including the multifunction timer and serial interface, the number of system components has been reduced.
1.1.1
Applications
This MCU can be used in Peripherals (USB applicable), audio components, cameras, televisions, household appliances, office equipment, communication devices, mobile devices, industrial equipment, and other applications.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 1 of 90
M16C/6C Group
1. Overview
1.2
Specifications
Table 1.1 to Table 1.2 list specifications.
Table 1.1
Item
Specifications (1/2)
Function Description Core ((multiplier: 16-bit x 16-bit 32-bit, multiply and accumulate instruction: 16-bit x 16-bit + 32-bit 32-bit)) * Number of basic instructions: 91 * Minimum instruction execution time: 31.25 ns (f(BCLK) = 32 MHz, VCC1 = VCC2 = 2.7 to 5.5 V) * Operating modes: Single-chip, memory expansion, and microprocessor See "Refer to Table 1.3 "Product List" ."
CPU
Central processing unit
Memory Voltage Detection
ROM, RAM, data flash Voltage detector
* Power-on reset * 3 voltage detection points (detection level of voltage detection 0
selectable)
* 5 circuits:
Main clock, sub clock, low-speed on-chip oscillator (125 kHz), high-speed on-chip oscillator (40 MHz 10%), PLL frequency synthesizer * Oscillation stop detection: Main clock oscillation stop/reoscillation detection function * Frequency divider circuit: Divide ratio selectable from 1, 2, 4, 8, and 16 * Power saving features: Wait mode, stop mode * Real-time clock
Clock
Clock generator
External Bus Bus memory expansion Expansion
* Address space: 1 MB * External bus interface: 0 to 3 wait states, 4 chip select outputs, 3 V and 5 V
interfaces
* Bus format: Separate bus or multiplexed bus selectable, data bus width (8
bits), number of address buses(12, 16, or 20)
I/O Ports
Programmable I/O ports
Interrupts
* CMOS I/O ports: 85 (selectable pull-up resistors) * N-channel open drain ports: 3 * Interrupt vectors: 70 * External interrupt inputs: 13 (NMI, INT x 8, key input x 4) * Interrupt priority levels: 7
15-bit timer x 1 (with prescaler) Automatic reset start function selectable
Watchdog Timer
DMA
DMAC
* 4 channels, cycle steal mode * Trigger sources:55 * Transfer modes: 2 (single transfer, repeat transfer)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 2 of 90
M16C/6C Group
1. Overview
Table 1.2
Item
Specifications (2/2)
Function Description 16-bit timer x 5 Timer mode, event counter mode, one-shot timer mode, pulse width modulation (PWM) mode Event counter two-phase pulse signal processing (two-phase encoder input) x 3 Programmable output mode x 3 16-bit timer x 6 Timer mode, event counter mode, pulse period measurement mode, pulse width measurement mode
Timer A
Timer B Timers Three-phase motor control timer functions Real-time clock Timer S (Input capture/output compare)
* Three-phase inverter control (timer A1, timer A2, timer A4, timer B2) * On-chip dead time timer * Count: second, minute, hour, day of the week * Input base timer: 16 bits X 1 * I/O: 8 channels * Time measurement register, Waveform generation register: 16 bits X
8 Clock synchronous/asynchronous x 6 channels I2C-bus, IEBus(1), Special mode 2, SIM (UART2) 1 channel
Serial Interface
UART0 to UART5
Multi-master I2C-bus Interface
* Full speed (12 Mbps, USB 2.0 compliant) * Transfer type: Control IN/OUT, Bulk IN X 2, Bulk OUT X 2,
Interrupt IN X 2 * FIFO size: 584 bytes * Setup 8 bytes * Control IN 16 bytes * Control OUT 16 bytes * Interrupt IN 16 bytes: 2 channels * Bulk IN 64 bytes X 2: 2 channels * Bulk OUT 64 bytes X 2: 2 channels
10-bit resolution x 26 channels (2 circuits), including sample and hold function Conversion time: 1.72 s 8-bit resolution x 2 circuits CRC-CCITT (X16 + X12 + X5 + 1), CRC-16 (X16 + X15 + X2 + 1) compliant
USB Functions
A/D Converter D/A Converter CRC Calculator
Flash Memory
* Program/erase power supply voltage: 2.7 to 5.5 V * Program/erase cycles: 1,000 times (program ROM 1, program ROM
2), or 10,000 times (data flash)
* Program security: ROM code protect, ID code check
Debug Functions Operation Frequency/Supply Voltage Current Consumption Operating Temperature Package On-chip debug, on-board flash rewrite, address match interrupt x 4 32 MHz/VCC1 = 2.7 to 5.5 V, VCC2 = 2.7 V to VCC1 27 mA (32 MHz/VCC1 = VCC2 = 3 V) 2.0 A(VCC1 = VCC2 = 3 V (in stop mode) -20C to 85C, -40C to 85C (2), 100-pin QFP: PRQP0100JD-B (Previous package code: 100P6F-A) 100-pin LQFP: PLQP0100KB-A (Previous package code: 100P6Q-A)
Notes: 1. IEBus is a registered trademark of NEC Electronics Corporation. 2. Refer to Table 1.2 "Specifications (2/2)" and Table 1.3 "Product List"regarding operating temperature.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 3 of 90
M16C/6C Group
1. Overview
1.3
Product List
Table 1.3 lists product information. Figure 1.1 shows the Part No. with Memory Size and Package, and Figure 1.2 shows the Marking Diagram (Top View). Table 1.3 Product List
Program ROM 1 512KB ROM Capacity Program Data flash ROM 2 16KB 4KB x2 blocks RAM Capacity 31KB Package Code Remarks
Part No. R5F36CAMNFA R5F36CAMNFB R5F36CAMDFA R5F36CAMDFB R5F36CAKNFA R5F36CAKNFB R5F36CAKDFA R5F36CAKDFB R5F36CAENFA R5F36CAENFB R5F36CAEDFA R5F36CAEDFB R5F36CA6NFA R5F36CA6NFB R5F36CA6DFA R5F36CA6DFB (P) (D) (P) (D) (P) (P) (P) (P) (P) (P) (P) (P) (P) (P) (P) (P)
384KB
16KB
4KB x2 blocks
31KB
256KB
16KB
4KB x2 blocks
20KB
128KB
16KB
4KB x2 blocks
12KB
PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C
(D): Under development (P): Planning Note: 1. Previous package codes are as follows: PRQP0100JD-B: 100P6F-A PLQP0100KB-A: 100P6Q-A
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 4 of 90
M16C/6C Group
1. Overview
Part No.
R5F3
6 CA
MD
FB
Package type FA: Package PRQP0100JD-B (100P6F-A) FB: Package PLQP0100KB-A (100P6Q-A)
Property Code D: Operating temperature: -40C to 85C N: Operating temperature: -20C to 85C Memory capacity Program ROM 1/RAM M: 512 KB/31 KB K: 384 KB/31KB E: 256 KB/20 KB 6: 128 KB/12 KB M16C/6C Group 16-bit MCU Memory type F: Flash memory Renesas MCU Renesas semiconductor
Figure 1.1
Part No. with Memory Size and Package
M1 6 C R 5 F 3 6 C A MD F B XXXXXXX
Type No. (See Figure 1.1 Part No., Memory Size, and Package.) Seven digit date code
Figure 1.2
Marking Diagram (Top View)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 5 of 90
M16C/6C Group
1. Overview
1.4
Block Diagram
Figure 1.3 shows block diagrams.
8 Port P0
8 Port P1
8 Port P2
8 Port P3
8 Port P4
8 Port P5
VCC2 ports
Internal peripheral functions
Timer (16-bit) Outputs (timer A): 5 Inputs (timer B): 6 Three-phase motor control circuit Timer S Input capture Output compare Time measurement function : 8 channels Clock generation function : 8 channels Real-time clock Watchdog timer (15-bit) A/D converter (10-bit resolution x 26 channels, 2 circuits) D/A converter (8-bit resolution x 2 circuits)
UART or clock synchronous serial I/O (6 channels) Multi-master I2C-bus interface (1 channel) USB module (USB 2.0 Full speed) USB FIFO (564 bytes)
System clock generator
XIN-XOUT XCIN-XCOUT PLL frequency synthesizer On-chip oscillator (125 kHz) High-speed on-chip oscillator
DMAC (4 channels) CRC arithmetic circuit (CCITT or CRC-16) Voltage detector Power-on reset On-chip debugger Memory ROM (1) RAM
(2)
M16C/60 Series CPU core
R0H R1H R2 R3 A0 A1 FB R0L R1L SB USP ISP INTB PC FLG
Multiplier
VCC1 ports
Port P10 8
Port P9 8
Port P8 8
Port P7 8
Port P6 8
Notes: 1. ROM size depends on MCU type. 2. RAM size depends on MCU type.
Figure 1.3
Block Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 6 of 90
M16C/6C Group
Figure 1.4
P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0 P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0 P10_3/AN3 P10_2/AN2 P10_1/AN1 AVSS P10_0/AN0 VREF AVCC P9_7/ADTRG/RXD4/SCL4
99 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 31 33 32 35 34 36 37 38 40 39 41 42 43 44 46 45 47 48 49 50 98 97 96 94 95 93 91 92 90 88 89 86 87 85 83 84 82 81 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Pin Assignment
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 7 of 90
(See Note 3)


Figure 1.4 to Figure 1.5 show pin assignments. Table 1.4 to Table 1.5 list pin names.
Notes: 1. N-channel open drain output. 2. Check the position of Pin 1 by referring to appendix 1, Package Dimensions. 3. Pin names in brackets ( ) represent a single functional signal. They should not be considered as two separate functional signals.
M16C/6C Group
PRQP0100JD-B (100P6F-A) (top view)
P9_6/ANEX1/TXD4/SDA4 P9_5/ANEX0/CLK4 P9_4/DA1/TB4IN/CTS4/RTS4 P9_3/DA0/TB3IN/CTS3/RTS3 P9_2/TB2IN/TXD3/SDA3/ATTACH P9_1/TB1IN/RXD3/SCL3/D+ P9_0/TB0IN/CLK3/DUVCC CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI/SD/VbusDTCT(1) P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U/CTS5/RTS5 P8_0/TA4OUT/U/RXD5/SCL5 P7_7/TA3IN/CLK5 P7_6/TA3OUT/TXD5/SDA5 P7_5/TA2IN/W P7_4/TA2OUT/W P7_3/CTS2/RTS2/TA1IN/V P7_2/CLK2/TA1OUT/V P7_1/RXD2/SCL2/SCLMM/TA0IN/TB5IN(1) P7_0/TXD2/SDA2/SDAMM/TA0OUT(1)
P1_0 P1_1 P1_2 P1_3 P1_4 P1_5/INT3/IDV P1_6/INT4/IDW P1_7/INT5/IDU P2_0/AN2_0/A0, [A0/D0]/OUTC10/INPC10 P2_1/AN2_1/A1, [A1/D1]/OUTC11/INPC11 P2_2/AN2_2/A2, [A2/D2]/OUTC12/INPC12 P2_3/AN2_3/A3, [A3/D3]/OUTC13/INPC13 P2_4/INT6/AN2_4/A4, [A4/D4]/OUTC14/INPC14 P2_5/INT7/AN2_5/A5, [A5/D5]/OUTC15/INPC15 P2_6/AN2_6/A6, [A6/D6]/OUTC16/INPC16 P2_7/AN2_7/A7, [A7/D7]/OUTC17/INPC17 VSS P3_0/A8 VCC2 P3_1/A9 P3_2/A10 P3_3/A11 P3_4/A12 P3_5/A13 P3_6/A14 P3_7/A15 P4_0/A16 P4_1/A17 P4_2/A18 P4_3/A19
P4_4/CS0 P4_5/CS1 P4_6/CS2 P4_7/CS3 P5_0/WR P5_1/BHE P5_2/RD P5_3/BCLK P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P6_0/RTCOUT/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 P6_6/RXD1/SCL1 P6_7/TXD1/SDA1
1. Overview
M16C/6C Group
1. Overview
(See Note 3) P1_3 P1_4 P1_5/INT3/IDV P1_6/INT4/IDW P1_7/INT5/IDU P2_0/AN2_0/A0, [A0/D0]/OUTC10/INPC10 P2_1/AN2_1/A1, [A1/D1]/OUTC11/INPC11 P2_2/AN2_2/A2, [A2/D2]/OUTC12/INPC12 P2_3/AN2_3/A3, [A3/D3]/OUTC13/INPC13 P2_4/INT6/AN2_4/A4, [A4/D4]/OUTC14/INPC14 P2_5/INT7/AN2_5/A5, [A5/D5]/OUTC15/INPC15 P2_6/AN2_6/A6, [A6/D6]/OUTC16/INPC16 P2_7/AN2_7/A7, [A7/D7]/OUTC17/INPC17 VSS P3_0/A8 VCC2 P3_1/A9 P3_2/A10 P3_3/A11 P3_4/A12 P3_5/A13 P3_6/A14 P3_7/A15 P4_0/A16 P4_1/A17
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52
P1_2 P1_1 P1_0 P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0 P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0 P10_3/AN3 P10_2/AN2 P10_1/AN1 AVSS P10_0/AN0 VREF AVCC P9_7/ADTRG/RXD4/SCL4 P9_6/ANEX1/TXD4/SDA4 P9_5/ANEX0/CLK4
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 2 3 4 5 6 7 8
51 50 49

48 47 46 45 44
M16C/6C Group
PLQP0100KB-A (100P6Q-A) (top view)
43 42 41 40 39 38 37 36 35 34 33 32 31 30 29

28 27 26
P4_2/A18 P4_3/A19 P4_4/CS0 P4_5/CS1 P4_6/CS2 P4_7/CS3 P5_0/WR P5_1/BHE P5_2/RD P5_3/BCLK P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P6_0/RTCOUT/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 P6_6/RXD1/SCL1 P6_7/TXD1/SDA1 P7_0/TXD2/SDA2/SDAMM/TA0OUT(1) P7_1/RXD2/SCL2/SCLMM/TA0IN/TB5IN(1) P7_2/CLK2/TA1OUT/V
Notes: 1. N-channel open drain output. 2. Check the position of Pin 1 by referring to appendix 1, Package Dimensions. 3. Pin names in brackets ( ) represent a single functional signal. They should not be considered as two separate functional signals.
Figure 1.5
Pin Assignment
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 8 of 90
P9_4/DA1/TB4IN/CTS4/RTS4 P9_3/DA0/TB3IN/CTS3/RTS3 P9_2/TB2IN/TXD3/SDA3/ATTACH P9_1/TB1IN/RXD3/SCL3/D+ P9_0/TB0IN/CLK3/DUVCC CNVSS P8_7/XCIN P8_6/XCOUT
RESET XOUT VSS XIN VCC1 P8_5/NMI/SD/VbusDTCT(1) P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U/CTS5/RTS5 P8_0/TA4OUT/U/RXD5/SCL5 P7_7/TA3IN/CLK5 P7_6/TA3OUT/TXD5/SDA5 P7_5/TA2IN/W P7_4/TA2OUT/W P7_3/CTS2/RTS2/TA1IN/V
M16C/6C Group
1. Overview
Table 1.4
Pin No. FA 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 FB 99 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Pin Names (1/2)
Control Pin Port P9_6 P9_5 P9_4 P9_3 P9_2 P9_1 P9_0 CNVSS XCIN XCOUT RESET XOUT VSS XIN VCC1 Interrupt I/O Pin for Peripheral Function Serial interface, Timer USB TXD4/SDA4 CLK4 CTS4/RTS4 TB4IN CTS3/RTS3 TB3IN TB2IN TXD3/SDA3/ATTACH TB1IN RXD3/SCL3/D+ TB0IN CLK3/DUVCC A/D converter, D/A converter ANEX1 ANEX0 DA1 DA0 Bus Control Pin
P8_7 P8_6
P8_5 P8_4 P8_3 P8_2 P8_1 P8_0 P7_7 P7_6 P7_5 P7_4 P7_3 P7_2 P7_1 P7_0 P6_7 P6_6 P6_5 P6_4 P6_3 P6_2 P6_1 P6_0 P5_7 P5_6 P5_5 P5_4 P5_3 P5_2 P5_1 P5_0 P4_7 P4_6 P4_5 P4_4
NMI INT2 INT1 INT0
SD ZP
VbusDTCT
TA4IN/U TA4OUT/U TA3IN TA3OUT TA2IN/W TA2OUT/W TA1IN/V TA1OUT/V TA0IN/TB5IN TA0OUT
CTS5/RTS5 RXD5/SCL5 CLK5 TXD5/SDA5
RTCOUT
CTS2/RTS2 CLK2 RXD2/SCL2/SCLMM TXD2/SDA2/SDAMM TXD1/SDA1 RXD1/SCL1 CLK1 CTS1/RTS1/CTS0/ CLKS1 TXD0/SDA0 RXD0/SCL0 CLK0 CTS0/RTS0 RDY/CLKOUT ALE HOLD HLDA BCLK RD BHE WR CS3 CS2 CS1 CS0
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 9 of 90
M16C/6C Group
1. Overview
Table 1.5
Pin No. FA 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 FB 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
Pin Names (2/2)
Control Pin Port P4_3 P4_2 P4_1 P4_0 P3_7 P3_6 P3_5 P3_4 P3_3 P3_2 P3_1 VCC2 P3_0 VSS P2_7 P2_6 P2_5 P2_4 P2_3 P2_2 P2_1 P2_0 P1_7 P1_6 P1_5 P1_4 P1_3 P1_2 P1_1 P1_0 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 P10_7 P10_6 P10_5 P10_4 P10_3 P10_2 P10_1 AVSS P10_0 VREF AVCC P9_7 RXD4/SCL4 ADTRG AN0 INT5 INT4 INT3 INT7 INT6 OUTC17/ INPC17 OUTC16/ INPC16 OUTC15/ INPC15 OUTC14/ INPC14 OUTC13/ INPC13 OUTC12/ INPC12 OUTC11/ INPC11 OUTC10/ INPC10 IDU IDW IDV AN2_7 AN2_6 AN2_5 AN2_4 AN2_3 AN2_2 AN2_1 AN2_0 A7, [A7/D7] A6, [A6/D6] A5, [A5/D5] A4, [A4/D4] A3, [A3/D3] A2, [A2/D2] A1, [A1/D1] A0, [A0/D0] A8 Interrupt I/O Pin for Peripheral Function Serial interface, A/D converter, Timer USB D/A converter Bus Control Pin A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9
KI3 KI2 KI1 KI0
AN0_7 AN0_6 AN0_5 AN0_4 AN0_3 AN0_2 AN0_1 AN0_0 AN7 AN6 AN5 AN4 AN3 AN2 AN1
D7 D6 D5 D4 D3 D2 D1 D0
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 10 of 90
M16C/6C Group
1. Overview
1.5
Pin Functions
Pin Functions (1/3)
Pin Name VCC1, VCC2, VSS AVCC, AVSS RESET I/O I I I Power Supply VCC1 VCC1 Description Apply 2.7 to 5.5 V to pins VCC1 and VCC2 (VCC1 VCC2). Input 0V to VSS.(1) This is the power supply for the A/D converter. Connect the AVCC pin to VCC1, and connect the AVSS pin to VSS. Driving this pin low resets the MCU. Input pin to switch processor modes. After a reset, to start operating in single-chip mode, connect the CNVSS pin to VSS via a resistor. To start operating in microprocessor mode, connect the pin to VCC1. Inputs or outputs data (D0 to D7) while accessing an external area with a separate bus. Outputs address bits A0 to A19. Inputs or outputs data (D0 to D7) and outputs address bits (A0 to A7) by timesharing, while accessing an external area with an 8-bit multiplexed bus. Outputs chip-select signals CS0 to CS3 to specify an external area. Outputs WR, BHE, and RD signals. * Data is written to an external area when WR is driven low. Data in an external area is read when RD is driven low. An odd address is accessed when BHE is driven low. Outputs ALE signal to latch address. The MCU is placed in a hold state while the HOLD pin is driven low. In a hold state, HLDA outputs a low-level signal. The MCU bus is placed in a wait state while the RDY pin is driven low.
Table 1.6
Power supply input Analog power supply input Reset input
Signal Name
CNVSS
CNVSS
I
VCC1
D0 to D7 A0 to A19 A0/D0 to A7/D7 CS0 to CS3 Bus control pins WR BHE RD ALE HOLD HLDA RDY
I/O O I/O
VCC2 VCC2 VCC2
O
VCC2
O
VCC2
O I O I
VCC2 VCC2 VCC2 VCC2
Power supply: VCC2 is used to supply power to the external bus associated pins. The dual power supply configuration allows VCC2 to interface at a different voltage than VCC1. Note: 1. VCC means VCC1 except as otherwise noted.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 11 of 90
M16C/6C Group
1. Overview
Table 1.7
Pin Functions (2/3)
Pin Name XIN XOUT XCIN XCOUT BCLK CLKOUT INT0 to INT2 INT3 to INT7 NMI KI0 to KI3 TA0OUT to TA4OUT I/O I O I O O O I I I I I/O I I I O I I O I Power Supply VCC1 VCC1 VCC1 VCC1 VCC2 VCC2 VCC1 VCC2 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC2 VCC1 VCC2 VCC2 I O I/O I O O VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 Description I/O for the main clock oscillator. Connect a ceramic resonator or crystal between pins XIN and XOUT. (1) Input an external clock to XIN pin and leave XOUT pin open. I/O for a sub clock oscillator. Connect a crystal between XCIN pin and XCOUT pin. (1) Input an external clock to XCIN pin and leave XCOUT pin open. Outputs the BCLK signal. Outputs a clock with the same frequency as fC, f1, f8, or f32. Input for the INT interrupt. Input for the NMI interrupt. Input for the key input interrupt. I/O for timers A0 to A4 (TA0OUT is N-channel open drain output). Input for timers A0 to A4. Input for Z-phase. Input for timers B0 to B5. Output for the three-phase motor control timer. Forced cutoff input. Input for the position data. Output for the real-time clock.
Signal Name Main clock input Main clock output Sub clock input Sub clock output BCLK output Clock output INT interrupt input NMI interrupt input Key input interrupt input
Timer A
TA0IN to TA4IN ZP TB0IN to TB5IN U, U, V, V, W, W SD IDU, IDV, IDW RTCOUT INPC10 to INPC17
Timer B Three-phase motor control timer Real-time clock output Timer S
Input for the time measurement function. Output for the waveform generation function.
Input pins to control data transmission. Output pins to control data reception. Transmit/receive clock I/O. Serial data input. Serial data output. (2) Output for the transmit/receive clock multiple-pin output function.
OUTC10 to OUTC17 CTS0 to CTS5 RTS0 to RTS5 CLK0 to CLK5 RXD0 to RXD5 TXD0 to TXD5 CLKS1
Serial interface UART0 to UART5
Notes: 1. Contact the oscillator manufacturer regarding the oscillation characteristics. 2. TXD2, SDA2, and SCL2 are N-channel open drain output pins. TXDi (i = 0, 1, 3 to 5), SDAi, and SCLi can be selected as CMOS output pins or N-channel open drain output pins.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 12 of 90
M16C/6C Group
1. Overview
Table 1.8
Signal Name UART0 to UART5 I2C mode Multi-master I2C-bus interface
Pin Functions (3/3)
Pin Name SDA0 to SDA5 SCL0 to SCL5 SDAMM SCLMM ATTACH VbusDTCT I/O I/O I/O I/O I/O O I I I/O I/O I I I I I O UVCC UVCC VCC1 VCC1 VCC2 VCC1 VCC1 VCC1 Analog input for the A/D converter. External A/D trigger input. Extended analog input for the A/D converter. Output for the D/A converter. Power Supply VCC1 VCC1 VCC1 VCC1 UVCC UVCC Description Serial data I/O for I2C mode.(2) Transmit/receive clock I/O for I2C mode.(2) Serial data I/O (N-channel open drain output). Transmit/receive clock I/O (N-channel open drain output). Output used for D+ 1.5 k pull-up Input the power supply signal from a host PC Input power supply for pins ATTACH, D+ and DUSB D+ input/output USB D- input/output Reference voltage input for the A/D and D/A converters.
USB module
UVCC D+ D-
Reference voltage input
VREF AN0 to AN7
A/D converter
AN0_0 to AN0_7 AN2_0 to AN2_7 ADTRG ANEX0, ANEX1
D/A converter
DA0, DA1 P0_0 to P0_7 P1_0 to P1_7 P2_0 to P2_7 P3_0 to P3_7 P4_0 to P4_7 P5_0 to P5_7 P6_0 to P6_7 P7_0 to P7_7 P8_0 to P8_7 P9_0 to P9_7 P10_0 to P10_7
I/O
VCC2
8-bit CMOS I/O ports. A direction register determines whether each pin is used as an input port or an output port. A pull-up resistor may be enabled or disabled for input ports in 4-bit units.
I/O ports
I/O
VCC1
8-bit I/O ports having equivalent functions to P0. However, P7_0, P7_1, and P8_5 are N-channel open drain output ports. No pull-up resistor is provided. P8_5 is an input port for verifying the NMI pin level and shares a pin with NMI.
Notes: 1. Contact the oscillator manufacturer regarding the oscillation characteristics. 2. TXD2, SDA2, and SCL2 are N-channel open drain output pins. TXDi (i = 0, 1, 3 to 5), SDAi, and SCLi can be selected as CMOS output pins or N-channel open drain output pins.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 13 of 90
M16C/6C Group
2. Central Processing Unit (CPU)
2.
Central Processing Unit (CPU)
Figure 2.1 shows the CPU registers. Seven registers (R0, R1, R2, R3, A0, A1, and FB) out of 13 compose a register bank, and there are two register banks.
b31 b15 b8 b7 b0
R2 R3
R0H(high-order bits of R0) R0L (low-order bits of R0) R1H(high-order bits of R1) R1L (low-order bits of R1)
Data registers (1)
R2 R3 A0 A1 FB Address registers (1) Frame base registers (1)
b0
b19
b15
INTBH
INTBL
Interrupt table register
INTBH is the 4 high-order bits of the INTB register and INTBL is the 16 low-order bits.
b19 b0
PC
b15 b0
Program counter
USP ISP SB
b15 b0
User stack pointer Interrupt stack pointer Static base register
FLG
b15 b8 b7 b0
Flag register
IPL
UI
OB S Z DC
Carry flag Debug flag Zero flag Sign flag Register bank select flag Overflow flag Interrupt enable flag Stack pointer select flag Reserved area Processor interrupt priority level Reserved area
Note: 1. These registers compose a register bank. There are two register banks.
Figure 2.1
CPU Register
2.1
Data Registers (R0, R1, R2, and R3)
R0, R1, R2, and R3 are 16-bit registers used for transfer, arithmetic, and logic operations. R0 and R1 can be split into high-order (R0H/R1H) and low-order (R0L/R1L) bits to be used separately as 8-bit data registers. R0 can be combined with R2, and R3 can be combined with R1 and be used as 32-bit data registers R2R0 and R3R1, respectively.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 14 of 90
M16C/6C Group
2. Central Processing Unit (CPU)
2.2
Address Registers (A0 and A1)
A0 and A1 are 16-bit registers used for indirect addressing, relative addressing, transfer, arithmetic, and logic operations. A0 can be combined with A1 and used as a 32-bit address register (A1A0).
2.3
Frame Base Register (FB)
FB is a 16-bit register that is used for FB relative addressing.
2.4
Interrupt Table Register (INTB)
INTB is a 20-bit register that indicates the start address of a relocatable interrupt vector table.
2.5
Program Counter (PC)
The PC is 20 bits wide and indicates the address of the next instruction to be executed.
2.6
User Stack Pointer (USP) and Interrupt Stack Pointer (ISP)
The USP and ISP stack pointers (SP) are each comprised of 16 bits. The U flag is used to switch between USP and ISP.
2.7
Static Base Register (SB)
SB is a 16-bit register used for SB relative addressing.
2.8
Flag Register (FLG)
FLG is an 11-bit register that indicates the CPU state.
2.8.1
Carry Flag (C Flag)
The C flag retains a carry, borrow, or shift-out bit generated by the arithmetic/logic unit.
2.8.2
Debug Flag (D Flag)
The D flag is for debugging only. Set it to 0.
2.8.3
Zero Flag (Z Flag)
The Z flag becomes 1 when an arithmetic operation results in 0. Otherwise, it becomes 0.
2.8.4
Sign Flag (S Flag)
The S flag becomes 1 when an arithmetic operation results in a negative value. Otherwise, it becomes 0.
2.8.5
Register Bank Select Flag (B Flag)
Register bank 0 is selected when the B flag is 0. Register bank 1 is selected when this flag is 1.
2.8.6
Overflow Flag (O Flag)
The O flag becomes 1 when an arithmetic operation results in an overflow. Otherwise, it becomes 0.
2.8.7
Interrupt Enable Flag (I Flag)
The I flag enables maskable interrupts. Maskable interrupts are disabled when the I flag is 0, and enabled when it is 1. The I flag becomes 0 when an interrupt request is accepted.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 15 of 90
M16C/6C Group
2. Central Processing Unit (CPU)
2.8.8
Stack Pointer Select Flag (U Flag)
ISP is selected when the U flag is 0. USP is selected when the U flag is 1. The U flag becomes 0 when a hardware interrupt request is accepted, or the INT instruction of software interrupt number 0 to 31 is executed.
2.8.9
Processor Interrupt Priority Level (IPL)
IPL is 3 bits wide and assigns processor interrupt priority levels from 0 to 7. If a requested interrupt has higher priority than IPL, the interrupt request is enabled.
2.8.10
Reserved Areas
Only set these bits to 0. The read value is undefined.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 16 of 90
M16C/6C Group
3. Address Space
3.
3.1
Address Space
Address Space
The M16C/6C Group has a 1 MB address space from 00000h to FFFFFh. Figure 3.1 shows the Address Space. Areas that can be accessed vary depending on processor mode and the status of each control bit.
Memory expand mode 00000h 00400h Internal RAM Reserved area 04000h 0D000h 0D800h 0E000h 10000h Address space 1 Mbyte 14000h External area 27000h Reserved area 28000h External area SFR External area Internal ROM (data flash) Internal ROM (program ROM2) SFR Internal RAM is allocated from address 00400h to higher.
When data flash is enabled When program ROM 2 is enabled
External area
D0000h
Reserved area Internal ROM (program ROM1) Program ROM 1 is allocated from address FFFFFh to lower.
FFFFFh Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: - The PM13 bit in the PM1 register is set to 0 (addresses from 04000h to 0CFFFh and from 80000h to CFFFFh are used as external areas)
Figure 3.1
Address Space
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 17 of 90
M16C/6C Group
3. Address Space
3.2
Memory Map
Special function registers (SFRs) are allocated from address 00000h to 003FFh and from 0D000h to 0D7FFh. Peripheral function control registers are located here. All blank areas within SFRs are reserved. Do not access these areas. Internal RAM is allocated from address 00400h higher, with 10 KB of internal RAM allocated from 00400h to 02BFFh. Internal RAM is used not only for data storage, but also for the stack area when subroutines are called or when an interrupt request is accepted. The internal ROM is flash memory. Three internal ROM areas are available: data flash, program ROM 1, and program ROM 2. The data flash is allocated from 0E000h to 0FFFFh. This data flash area is mostly used for data storage, but can also store programs. Program ROM 2 is allocated from 10000h to 13FFFh. Program ROM 1 is allocated from FFFFFh lower, with the 64-KB program ROM 1 area allocated from address F0000h to FFFFFh. The special page vectors are allocated from FFE00h to FFFD7h. They are used for the JMPS and JSRS instructions. Refer to the M16C/60, M16C/20, M16C/Tiny Series Software Manual for details. The fixed vector table for interrupts is allocated from FFFDCh to FFFFFh. The 256 bytes beginning with the start address set in the INTB register compose the relocatable vector table for interrupts. Figure 3.2 shows the Memory Map.
00000h Internal RAM Size 12 KB 20 KB 31 KB
Address XXXXXh
SFR Internal RAM
00400h XXXXXh Reserved area 0D000h 0D800h 0E000h 10000h 14000h External area 27000h 28000h
Relocatable vector table
033FFh 053FFh 07FFFh
SFR External area Internal ROM (data flash) Internal ROM (program ROM 2) 13000h 13FF0h 13FFFh On-chip debugger monitor area User boot code area
Reserved area
External area Program ROM 1 Address YYYYYh Size 128 KB 256 KB 384 KB 512 KB E0000h C0000h A0000h 80000h YYYYYh Internal ROM (program ROM 1) FFFFFh Reserved area FFE00h 80000h
256 bytes beginning with the start address set in the INTB register
FFFD8h FFFDCh
Special page vector table Reserved area Fixed vector table
Address for ID code stored
FFFFFh
OFS1 address
Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: - Memory expansion mode - The PM10 bit in the PM1 register is 1 (addresses 0E000h to 0FFFFh are used as data flash) - The PRG2C0 bit in the PRG2C register is 0 (program ROM 2 enabled) - The PM13 bit in the PM1 register is 1 (all areas in internal RAM, and the program ROM 1 area from 80000h are usable)
Figure 3.2
Memory Map
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 18 of 90
M16C/6C Group
3. Address Space
3.3
Accessible Area in Each Mode
Areas that can be accessed vary depending on processor mode and the status of each control bit. Figure 3.3 shows the Accessible Area in Each Mode. In single-chip mode, the SFRs, internal RAM, and internal ROM can be accessed. In memory expansion mode, the SFRs, internal RAM, internal ROM, and external areas can be accessed. In microprocessor mode, the SFRs, internal RAM, and external areas can be accessed. Allocate ROM to the fixed vector table from FFFDCh to FFFFFh.
Single-Chip Mode 00000h 00400h Internal RAM Reserved area 0D000h 0D800h 0E000h 10000h 14000h SFR Reserved area Internal ROM (data flash) Internal ROM (program ROM 2) SFR
Memory Expansion Mode 00000h SFR 00400h Internal RAM Reserved area 0D000h 0D800h 0E000h 10000h 14000h External area 27000h Reserved area 28000h SFR External area Internal ROM (data flash) Internal ROM (program ROM 2)
Microprocessor Mode 00000h 00400h Internal RAM Reserved area 0D000h 0D800h SFR SFR
External area
27000h Reserved area 28000h External area
Reserved area
80000h External or reserved area External area
Internal ROM (program ROM 1) FFFFFh FFFFFh
Internal ROM (program ROM 1) FFFFFh
Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: Single-chip mode and memory expansion mode - The PM10 bit in the PM1 register is 1 (addresses 0E000h to 0FFFFh are used as data flash) - The PRG2C0 bit in the PRG2C register is 0 (program ROM 2 enabled) - The PM13 bit in the PM1 register is 1 (all areas in internal RAM, and the program ROM 1 area from 80000h are usable) Microprocessor mode - The PM10 bit is 0 (addresses 0E000h to 0FFFFh are used as the CS2 area) - The PRG2C0 bit is 1 (program ROM 2 disabled)
Figure 3.3
Accessible Area in Each Mode
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 19 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
4.
4.1
Special Function Registers (SFRs)
SFRs
An SFR is a control register for a peripheral function. Table 4.1 to Table 4.21 list SFR information.
Table 4.1
Address
0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h 0009h 000Ah 000Bh 000Ch 000Dh 000Eh 000Fh 0010h 0011h 0012h 0013h 0014h 0015h 0016h 0017h 0018h 0019h 001Ah 001Bh 001Ch 001Dh 001Eh 001Fh Notes: 1. 2. 3. 4. 5. 6. Processor Mode Register 0 Processor Mode Register 1 System Clock Control Register 0 System Clock Control Register 1 Chip Select Control Register Protect Register Oscillation Stop Detection Register PM0 PM1 CM0 CM1 CSR PRCR CM2 0000 0000b (CNVSS pin is low) 0000 0011b (CNVSS pin is high) (2) 0000 1000b 0100 1000b 0010 0000b 01h 00h 0X00 0010b (3)
SFR Information (1/21) (1)
Register Symbol Reset Value
Program 2 Area Control Register Peripheral Clock Select Register
PRG2C PCLKR
XXXX XX00b 0000 0011b
Clock Prescaler Reset Flag
CPSRF
0XXX XXXXb
Reset Source Determine Register Voltage Detector 2 Flag Register Voltage Detector Operation Enable Register Chip Select Expansion Control Register PLL Control Register 0 PLLFCK Control Register Processor Mode Register 2
RSTFR VCR1 VCR2 CSE PLC0 PLCF PM2
XX00 001Xb (hardware reset) (4) 0000 X000b (2) 000X 0000b (2, 5) 001X 0000b (2, 6) 00h 0001 X010b 00h XX00 0X01b
X: Undefined The blank areas are reserved. No access is allowed. Software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and voltage monitor 2 reset do not affect the following bits and registers: The VCR1 register, the VCR2 register, and bits PM01 and PM00 in the PM0 register. Oscillator stop detect reset does not affect bits CM20, CM21, and CM27. The state of bits in the RSTFR register depends on the reset type. This is the reset value when the LVDAS bit of address OFS1 is 1 during hardware reset. This is the reset value after voltage monitor 0 reset, power-on reset, and when the LVDAS bit of address OFS1 is 0 during hardware reset.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 20 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.2
Address
0020h 0021h 0022h 0023h 0024h 0025h 0026h 0027h 0028h 0029h 002Ah 002Bh 002Ch 002Dh 002Eh 002Fh 0030h 0031h 0032h 0033h 0034h 0035h 0036h 0037h 0038h 0039h 003Ah 003Bh 003Ch 003Dh 003Eh 003Fh 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h 0048h 0049h 004Ah 004Bh 004Ch 004Dh 004Eh 004Fh Notes: 1. 2. 3. 4. 5. 6.
SFR Information (2/21) (1)
Register Symbol Reset Value
40 MHz On-Chip Oscillator Control Register 0
FRA0
XXXX XX00b
Voltage Monitor Function Select Register
VWCE
00h
Voltage Monitor 0 Control Register Voltage Monitor 1 Control Register Voltage Monitor 2 Control Register
VW0C VW1C VW2C
1100 XX10b (2, 3) 1100 XX11b (2, 4) 1000 XX10b (6) 1000 0X10b (6)
INT7 Interrupt Control Register INT6 Interrupt Control Register INT3 Interrupt Control Register Timer B5 Interrupt Control Register Timer B4 Interrupt Control Register UART1 Bus Collision Detection Interrupt Control Register Timer B3 Interrupt Control Register UART0 Bus Collision Detection Interrupt Control Register INT5 Interrupt Control Register INT4 Interrupt Control Register UART2 Bus Collision Detection Interrupt Control Register DMA0 Interrupt Control Register DMA1 Interrupt Control Register Key Input Interrupt Control Register, A/D Conversion (A/D1) Interrupt Control Register A/D Conversion (A/D0) Interrupt Control Register UART2 Transmit Interrupt Control Register
INT7IC INT6IC INT3IC TB5IC TB4IC U1BCNIC TB3IC U0BCNIC INT5IC INT4IC BCNIC DM0IC DM1IC KUPIC, ADEIC ADIC S2TIC
XX00 X000b XX00 X000b XX00 X000b XXXX X000b XXXX X000b XXXX X000b XX00 X000b XX00 X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b
X: Undefined The blank areas are reserved. No access is allowed. Software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and voltage monitor 2 reset do not affect the following registers or bit: the VW0C register, and the VW2C3 bit in the VW2C register. This is the reset value when the LVDAS bit of address OFS1 is 1 during hardware reset This is the reset value after voltage monitor 0 reset, power-on reset, and when the LVDAS bit of address OFS1 is 0 during hardware reset. Hardware reset, power-on reset, voltage monitor 0 reset, voltage monitor 1 reset, or voltage monitor 2 reset Hardware reset, power-on reset, or voltage monitor 0 reset
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 21 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.3
Address
0050h 0051h 0052h 0053h 0054h 0055h 0056h 0057h 0058h 0059h 005Ah 005Bh 005Ch 005Dh 005Eh 005Fh 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006Ah 006Bh 006Ch 006Dh 006Eh 006Fh 0070h 0071h 0072h 0073h 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh 007Ch 007Dh 007Eh 007Fh 0080h to 011Fh Note: 1.
SFR Information (3/21) (1)
Register
UART2 Receive Interrupt Control Register UART0 Transmit Interrupt Control Register UART0 Receive Interrupt Control Register UART1 Transmit Interrupt Control Register UART1 Receive Interrupt Control Register Timer A0 Interrupt Control Register Timer A1 Interrupt Control Register Timer A2 Interrupt Control Register Timer A3 Interrupt Control Register Timer A4 Interrupt Control Register Timer B0 Interrupt Control Register Timer B1 Interrupt Control Register Timer B2 Interrupt Control Register INT0 Interrupt Control Register INT1 Interrupt Control Register INT2 Interrupt Control Register
Symbol
S2RIC S0TIC S0RIC S1TIC S1RIC TA0IC TA1IC TA2IC TA3IC TA4IC TB0IC TB1IC TB2IC INT0IC INT1IC INT2IC
Reset Value
XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XX00 X000b XX00 X000b XX00 X000b
DMA2 Interrupt Control Register DMA3 Interrupt Control Register UART5 Bus Collision Detection Interrupt Control Register UART5 Transmit Interrupt Control Register UART5 Receive Interrupt Control Register UART4 Bus Collision Detection Interrupt Control Register Real-Time Clock Period Interrupt Control Register UART4 Transmit Interrupt Control Register Real-Time Clock Compare Interrupt Control Register UART4 Receive Interrupt Control Register UART3 Bus Collision Detection Interrupt Control Register UART3 Transmit Interrupt Control Register UART3 Receive Interrupt Control Register
DM2IC DM3IC U5BCNIC S5TIC S5RIC U4BCNIC RTCTIC S4TIC RTCCIC S4TIC U3BCNIC S3TIC S3RIC
XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b
USB Interrupt 0 Control Register USB Interrupt 1 Control Register USB RESUME Interrupt Control Register IC/OC Interrupt 0 Control Register IC/OC Channel 0 Interrupt Control Register IC/OC Interrupt 1 Control Register I2C-bus Interface Interrupt Control Register IC/OC Channel 1 Interrupt Control Register SCL/SDA Interrupt Control Register IC/OC Channel 2 Interrupt Control Register IC/OC Channel 3 Interrupt Control Register IC/OC Base Timer Interrupt Control Register
USBINT0IC USBINT1IC USBRSMIC ICOC0IC ICOCH0IC ICOC1IC, IICIC ICOCH1IC, SCLDAIC ICOCH2IC ICOCH3IC BTIC
XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 22 of 90
M16C/6C Group
Table 4.4 SFR Information (4/21) (1)
4. Special Function Registers (SFRs)
Address Register 0120h 0121h 0122h 0123h 0124h 0125h 0126h 0127h 0128h 0129h 012Ah 012Bh 012Ch 012Dh 012Eh 012Fh 0130h to 013Fh 0140h A/D1 Register 0 0141h 0142h A/D1 Register 1 0143h 0144h A/D1 Register 2 0145h 0146h A/D1 Register 3 0147h 0148h 0149h 014Ah 014Bh 014Ch 014Dh 014Eh 014Fh 0150h 0151h 0152h A/D1 Trigger Control Register 0153h 0154h A/D1 Control Register 2 0155h 0156h A/D1 Control Register 0 0157h A/D1 Control Register 1 0158h 0159h 015Ah 015Bh 015Ch 015Dh 015Eh 015Fh 0160h to 017Fh Note: 1. The blank areas are reserved. No access is allowed.
Symbol
Reset Value
AD10 AD11 AD12 AD13
XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb
AD1TRGCON AD1CON2 AD1CON0 AD1CON1
XXXX 00XXb 0000 X00Xb 0000 0XXXb 0000 X000b
X: Undefined
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 23 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.5
Address
0180h 0181h 0182h 0183h 0184h 0185h 0186h 0187h 0188h 0189h 018Ah 018Bh 018Ch 018Dh 018Eh 018Fh 0190h 0191h 0192h 0193h 0194h 0195h 0196h 0197h 0198h 0199h 019Ah 019Bh 019Ch 019Dh 019Eh 019Fh 01A0h 01A1h 01A2h 01A3h 01A4h 01A5h 01A6h 01A7h 01A8h 01A9h 01AAh 01ABh 01ACh 01ADh 01AEh 01AFh Note: 1.
SFR Information (5/21) (1)
Register
DMA0 Source Pointer
Symbol
SAR0
Reset Value
XXh XXh 0Xh XXh XXh 0Xh XXh XXh
DMA0 Destination Pointer
DAR0
DMA0 Transfer Counter
TCR0
DMA0 Control Register
DM0CON
0000 0X00b
DMA1 Source Pointer
SAR1
XXh XXh 0Xh XXh XXh 0Xh XXh XXh
DMA1 Destination Pointer
DAR1
DMA1 Transfer Counter
TCR1
DMA1 Control Register
DM1CON
0000 0X00b
DMA2 Source Pointer
SAR2
XXh XXh 0Xh XXh XXh 0Xh XXh XXh
DMA2 Destination Pointer
DAR2
DMA2 Transfer Counter
TCR2
DMA2 Control Register
DM2CON
0000 0X00b
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 24 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.6
Address
01B0h 01B1h 01B2h 01B3h 01B4h 01B5h 01B6h 01B7h 01B8h 01B9h 01BAh 01BBh 01BCh 01BDh 01BEh 01BFh 01C0h 01C1h 01C2h 01C3h 01C4h 01C5h 01C6h 01C7h 01C8h 01C9h 01CAh 01CBh 01CCh 01CDh 01CEh 01CFh 01D0h 01D1h 01D2h 01D3h 01D4h 01D5h 01D6h 01D7h 01D8h 01D9h 01DAh 01DBh 01DCh 01DDh 01DEh 01DFh Note: 1.
SFR Information (6/21) (1)
Register
DMA3 Source Pointer
Symbol
SAR3
Reset Value
XXh XXh 0Xh XXh XXh 0Xh XXh XXh
DMA3 Destination Pointer
DAR3
DMA3 Transfer Counter
TCR3
DMA3 Control Register
DM3CON
0000 0X00b
Timer B0-1 Register Timer B1-1 Register Timer B2-1 Register Pulse Period/Pulse Width Measurement Mode Function Select Register 1 Timer B Count Source Select Register 0 Timer B Count Source Select Register 1 Timer AB Division Control Register 0
TB01 TB11 TB21 PPWFS1 TBCS0 TBCS1 TCKDIVC0
XXh XXh XXh XXh XXh XXh XXXX X000b 00h X0h 0000 X000b
Timer A Count Source Select Register 0 Timer A Count Source Select Register 1 Timer A Count Source Select Register 2 16-Bit Pulse Width Modulation Mode Function Select Register Timer A Waveform Output Function Select Register
TACS0 TACS1 TACS2 PWMFS TAPOFS
00h 00h X0h 0XX0 X00Xb XXX0 0000b
Timer A Output Waveform Change Enable Register Three-Phase Protect Control Register
TAOW TPRC
XXX0 X00Xb 00h
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 25 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.7
Address
01E0h 01E1h 01E2h 01E3h 01E4h 01E5h 01E6h 01E7h 01E8h 01E9h 01EAh 01EBh 01ECh 01EDh 01EEh 01EFh 01F0h 01F1h 01F2h 01F3h 01F4h 01F5h 01F6h 01F7h 01F8h 01F9h 01FAh 01FBh 01FCh 01FDh 01FEh 01FFh 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh 020Eh 020Fh Note: 1.
SFR Information (7/21) (1)
Register
Timer B3-1 Register Timer B4-1 Register Timer B5-1 Register Pulse Period/Pulse Width Measurement Mode Function Select Register 2 Timer B Count Source Select Register 2 Timer B Count Source Select Register 3
Symbol
TB31 TB41 TB51 PPWFS2 TBCS2 TBCS3
Reset Value
XXh XXh XXh XXh XXh XXh XXXX X000b 00h X0h
Interrupt Source Select Register 3 Interrupt Source Select Register 2 Interrupt Source Select Register
IFSR3A IFSR2A IFSR
00h 00h 00h
Address Match Interrupt Enable Register Address Match Interrupt Enable Register 2
AIER AIER2
XXXX XX00b XXXX XX00b X: Undefined
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 26 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.8
Address
0210h 0211h 0212h 0213h 0214h 0215h 0216h 0217h 0218h 0219h 021Ah 021Bh 021Ch 021Dh 021Eh 021Fh 0220h 0221h 0222h 0223h 0224h 0225h 0226h 0227h 0228h 0229h 022Ah 022Bh 022Ch 022Dh 022Eh 022Fh 0230h 0231h 0232h 0233h 0234h 0235h 0236h 0237h 0238h 0239h 023Ah 023Bh 023Ch 023Dh 023Eh 023Fh Note: 1.
SFR Information (8/21) (1)
Register
Address Match Interrupt Register 0
Symbol
RMAD0
Reset Value
00h 00h X0h 00h 00h X0h 00h 00h X0h 00h 00h X0h 0000 0001b (Other than user boot mode) 0010 0001b (User boot mode) 00X0 XX0Xb XXXX 0000b
Address Match Interrupt Register 1
RMAD1
Address Match Interrupt Register 2
RMAD2
Address Match Interrupt Register 3
RMAD3
Flash Memory Control Register 0 Flash Memory Control Register 1 Flash Memory Control Register 2
FMR0 FMR1 FMR2
Flash Memory Control Register 6
FMR6
XX0X XX00b
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 27 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.9
Address
0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h 0248h 0249h 024Ah 024Bh 024Ch 024Dh 024Eh 024Fh 0250h 0251h 0252h 0253h 0254h 0255h 0256h 0257h 0258h 0259h 025Ah 025Bh 025Ch 025Dh 025Eh 025Fh 0260h 0261h 0262h 0263h 0264h 0265h 0266h 0267h 0268h 0269h 026Ah 026Bh 026Ch 026Dh 026Eh 026Fh Note: 1.
SFR Information (9/21) (1)
Register Symbol Reset Value
UART0 Special Mode Register 4 UART0 Special Mode Register 3 UART0 Special Mode Register 2 UART0 Special Mode Register UART0 Transmit/Receive Mode Register UART0 Bit Rate Register UART0 Transmit Buffer Register UART0 Transmit/Receive Control Register 0 UART0 Transmit/Receive Control Register 1 UART0 Receive Buffer Register UART Transmit/Receive Control Register 2 UART Clock Select Register UART1 Special Mode Register 4 UART1 Special Mode Register 3 UART1 Special Mode Register 2 UART1 Special Mode Register UART1 Transmit/Receive Mode Register UART1 Bit Rate Register UART1 Transmit Buffer Register UART1 Transmit/Receive Control Register 0 UART1 Transmit/Receive Control Register 1 UART1 Receive Buffer Register
U0SMR4 U0SMR3 U0SMR2 U0SMR U0MR U0BRG U0TB U0C0 U0C1 U0RB UCON UCLKSEL0 U1SMR4 U1SMR3 U1SMR2 U1SMR U1MR U1BRG U1TB U1C0 U1C1 U1RB
00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 00XX 0010b XXh XXh X000 0000b X0h 00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 00XX 0010b XXh XXh
UART2 Special Mode Register 4 UART2 Special Mode Register 3 UART2 Special Mode Register 2 UART2 Special Mode Register UART2 Transmit/Receive Mode Register UART2 Bit Rate Register UART2 Transmit Buffer Register UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1 UART2 Receive Buffer Register
U2SMR4 U2SMR3 U2SMR2 U2SMR U2MR U2BRG U2TB U2C0 U2C1 U2RB
00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh X: Undefined
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 28 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.10
Address
0270h 0271h 0272h 0273h 0274h 0275h 0276h 0277h 0278h 0279h 027Ah 027Bh 027Ch 027Dh 027Eh 027Fh 0280h 0281h 0282h 0283h 0284h 0285h 0286h 0287h 0288h 0289h 028Ah 028Bh 028Ch 028Dh 028Eh 028Fh 0290h 0291h 0292h 0293h 0294h 0295h 0296h 0297h 0298h 0299h 029Ah 029Bh 029Ch 029Dh 029Eh 029Fh Note: 1.
SFR Information (10/21) (1)
Register Symbol Reset Value
UART5 Special Mode Register 4 UART5 Special Mode Register 3 UART5 Special Mode Register 2 UART5 Special Mode Register UART5 Transmit/Receive Mode Register UART5 Bit Rate Register UART5 Transmit Buffer Register UART5 Transmit/Receive Control Register 0 UART5 Transmit/Receive Control Register 1 UART5 Receive Buffer Register
U5SMR4 U5SMR3 U5SMR2 U5SMR U5MR U5BRG U5TB U5C0 U5C1 U5RB
00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh
UART4 Special Mode Register 4 UART4 Special Mode Register 3 UART4 Special Mode Register 2 UART4 Special Mode Register UART4 Transmit/Receive Mode Register UART4 Bit Rate Register UART4 Transmit Buffer Register UART4 Transmit/Receive Control Register 0 UART4 Transmit/Receive Control Register 1 UART4 Receive Buffer Register
U4SMR4 U4SMR3 U4SMR2 U4SMR U4MR U4BRG U4TB U4C0 U4C1 U4RB
00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh X: Undefined
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 29 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.11
Address
02A0h 02A1h 02A2h 02A3h 02A4h 02A5h 02A6h 02A7h 02A8h 02A9h 02AAh 02ABh 02ACh 02ADh 02AEh 02AFh 02B0h 02B1h 02B2h 02B3h 02B4h 02B5h 02B6h 02B7h 02B8h 02B9h 02BAh 02BBh 02BCh 02BDh 02BEh 02BFh 02C0h 02C1h 02C2h 02C3h 02C4h 02C5h 02C6h 02C7h 02C8h 02C9h 02CAh 02CBh 02CCh 02CDh 02CEh 02CFh 02D0h 02D1h 02D2h 02D3h 02D4h 02D5h 02D6h 02D7h 02D8h 02D9h 02DAh 02DBh 02DCh 02DDh 02DEh 02DFh
Note:
SFR Information (11/21) (1)
Register Symbol Reset Value
UART3 Special Mode Register 4 UART3 Special Mode Register 3 UART3 Special Mode Register 2 UART3 Special Mode Register UART3 Transmit/Receive Mode Register UART3 Bit Rate Register UART3 Transmit Buffer Register UART3 Transmit/Receive Control Register 0 UART3 Transmit/Receive Control Register 1 UART3 Receive Buffer Register I2C0 Data Shift Register I2C0 Address Register 0 I2C0 Control Register I2C0 Clock Control Register I2C0 Start/Stop Condition Control Register I2C0 Control Register 1 I2C0 Control Register 2 I2C0 Status Register 0 I2C0 Status Register 1 I2C0 Address Register 1 I2C0 Address Register 2
U3SMR4 U3SMR3 U3SMR2 U3SMR U3MR U3BRG U3TB U3C0 U3C1 U3RB S00 S0D0 S1D0 S20 S2D0 S3D0 S4D0 S10 S11 S0D1 S0D2
00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh XXh 0000 000Xb 00h 00h 0001 1010b 0011 0000b 00h 0001 000Xb 00h 0000 000Xb 0000 000Xb
Time measurement register, Waveform generation register 0 Time measurement register, Waveform generation register 1 Time measurement register, Waveform generation register 2 Time measurement register, Waveform generation register 3 Time measurement register, Waveform generation register 4 Time measurement register, Waveform generation register 5 Time measurement register, Waveform generation register 6 Time measurement register, Waveform generation register 7 Waveform generation control register 0 Waveform generation control register 1 Waveform generation control register 2 Waveform generation control register 3 Waveform generation control register 4 Waveform generation control register 5 Waveform generation control register 6 Waveform generation control register 7 Time measurement control register 0 Time measurement control register 1 Time measurement control register 2 Time measurement control register 3 Time measurement control register 4 Time measurement control register 5 Time measurement control register 6 Time measurement control register 7
G1TM0 G1PO0 G1TM1 G1PO1 G1TM2 G1PO2 G1TM3 G1PO3 G1TM4 G1PO4 G1TM5 G1PO5 G1TM6 G1PO6 G1TM7 G1PO7 G1POCR0 G1POCR1 G1POCR2 G1POCR3 G1POCR4 G1POCR5 G1POCR6 G1POCR7 G1TMCR0 G1TMCR1 G1TMCR2 G1TMCR3 G1TMCR4 G1TMCR5 G1TMCR6 G1TMCR7
XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh 0X00XX00b 0X00XX00b 0X00XX00b 0X00XX00b 0X00XX00b 0X00XX00b 0X00XX00b 0X00XX00b 00h 00h 00h 00h 00h 00h 00h 00h
X: Undefined
1.
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 30 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.12
Address
02E0h 02E1h 02E2h 02E3h 02E4h 02E5h 02E6h 02E7h 02E8h 02E9h 02EAh 02EBh 02ECh 02EDh 02EEh 02EFh 02F0h 02F1h 02F2h 02F3h 02F4h 02F5h 02F6h 02F7h 02F8h 02F9h 02FAh 02FBh 02FCh 02FDh 02FEh 02FFh 0300h 0301h 0302h 0303h 0304h 0305h 0306h 0307h 0308h 0309h 030Ah 030Bh 030Ch 030Dh 030Eh 030Fh
Note:
SFR Information (12/21) (1)
Register Symbol
G1BT G1BCR0 G1BCR1 G1TPR6 G1TPR7 G1FE G1FS G1BTRR G1DV G1OER G1IOR0 G1IOR1 G1IR G1IE0 G1IE1
Reset Value
XXh XXh 00h 00h 00h 00h 00h 00h XXh XXh 00h 00h 00h 00h XXh 00h 00h
Base timer register Base timer control register 0 Base timer control register 1 Time measurement prescaler register 6 Time measurement prescaler register 7 Function enable register Function select register Base timer reset register Count source divide register Waveform output master enable register Timer S I/O control register 0 Timer S I/O control register 1 Interrupt request register Interrupt enable register 0 Interrupt enable register 1
Timer B3/B4/B5 Count Start Flag Timer A1-1 Register Timer A2-1 Register Timer A4-1 Register Three-Phase PWM Control Register 0 Three-Phase PWM Control Register 1 Three-Phase Output Buffer Register 0 Three-Phase Output Buffer Register 1 Dead Time Timer Timer B2 Interrupt Generation Frequency Set Counter Position-Data-Retain Function Control Register
TBSR TA11 TA21 TA41 INVC0 INVC1 IDB0 IDB1 DTT ICTB2 PDRF
000X XXXXb XXh XXh XXh XXh XXh XXh 00h 00h XX11 1111b XX11 1111b XXh XXh XXXX 0000b
X: Undefined
1.
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 31 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.13
Address
0310h 0311h 0312h 0313h 0314h 0315h 0316h 0317h 0318h 0319h 031Ah 031Bh 031Ch 031Dh 031Eh 031Fh 0320h 0321h 0322h 0323h 0324h 0325h 0326h 0327h 0328h 0329h 032Ah 032Bh 032Ch 032Dh 032Eh 032Fh 0330h 0331h 0332h 0333h 0334h 0335h 0336h 0337h 0338h 0339h 033Ah 033Bh 033Ch 033Dh 033Eh 033Fh Note: 1.
SFR Information (13/21) (1)
Register Symbol
TB3 TB4 TB5
Reset Value
XXh XXh XXh XXh XXh XXh
Timer B3 Register Timer B4 Register Timer B5 Register
Port Function Control Register
PFCR
0011 1111b
Timer B3 Mode Register Timer B4 Mode Register Timer B5 Mode Register
TB3MR TB4MR TB5MR
00XX 0000b 00XX 0000b 00XX 0000b
Count Start Flag One-Shot Start Flag Trigger Select Register Up/Down Flag Timer A0 Register Timer A1 Register Timer A2 Register Timer A3 Register Timer A4 Register Timer B0 Register Timer B1 Register Timer B2 Register Timer A0 Mode Register Timer A1 Mode Register Timer A2 Mode Register Timer A3 Mode Register Timer A4 Mode Register Timer B0 Mode Register Timer B1 Mode Register Timer B2 Mode Register Timer B2 Special Mode Register
TABSR ONSF TRGSR UDF TA0 TA1 TA2 TA3 TA4 TB0 TB1 TB2 TA0MR TA1MR TA2MR TA3MR TA4MR TB0MR TB1MR TB2MR TB2SC
00h 00h 00h 00h XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh 00h 00h 00h 00h 00h 00XX 0000b 00XX 0000b 00XX 0000b X000 0000b
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 32 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.14
Address
0340h 0341h 0342h 0343h 0344h 0345h 0346h 0347h 0348h 0349h 034Ah 034Bh 034Ch 034Dh 034Eh 034Fh 0350h 0351h 0352h 0353h 0354h 0355h 0356h 0357h 0358h 0359h 035Ah 035Bh 035Ch 035Dh 035Eh 035Fh 0360h 0361h 0362h 0363h 0364h 0365h 0366h 0367h 0368h 0369h 036Ah 036Bh 036Ch 036Dh 036Eh 036Fh Notes: 1. 2.
SFR Information (14/21) (1)
Register Symbol
RTCSEC RTCMIN RTCHR RTCWK RTCCR1 RTCCR2 RTCCSR RTCCSEC RTCCMIN RTCCHR
Reset Value
00h X000 0000b XX00 0000b XXXX X000b 0000 X00Xb X000 0000b XXX0 0000b X000 0000b X000 0000b X000 0000b
Real-Time Clock Second Data Register Real-Time Clock Minute Data Register Real-Time Clock Hour Data Register Real-Time Clock Day Data Register Real-Time Clock Control Register 1 Real-Time Clock Control Register 2 Real-Time Clock Count Source Select Register Real-Time Clock Second Compare Data Register Real-Time Clock Minute Compare Data Register Real-Time Clock Hour Compare Data Register
Pull-Up Control Register 0 Pull-Up Control Register 1 Pull-Up Control Register 2
PUR0 PUR1 PUR2
00h 0000 0000b (2) 0000 0010b 00h
Port Control Register
PCR
0000 0XX0b
NMI/SD Digital Filter Register
NMIDF
XXXX X000b
X: Undefined The blank areas are reserved. No access is allowed. Values after hardware reset, power-on reset, or voltage monitor 0 reset are as follows: - 00000000b when a low-level signal is input to the CNVSS pin - 00000010b when a high-level signal is input to the CNVSS pin Values after voltage monitor 1 reset, voltage monitor 2 reset, software reset, watchdog timer reset, or oscillation stop detect reset are as follows: - 00000000b when bits PM01 and PM00 in the PM0 register are 00b (single-chip mode). - 00000010b when bits PM01 and PM00 in the PM0 register are 01b (memory expansion mode) or 11b (microprocessor mode).
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 33 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.15
Address
0370h 0371h 0372h 0373h 0374h 0375h 0376h 0377h 0378h 0379h 037Ah 037Bh 037Ch 037Dh 037Eh 037Fh 0380h 0381h 0382h 0383h 0384h 0385h 0386h 0387h 0388h 0389h 038Ah 038Bh 038Ch 038Dh 038Eh 038Fh 0390h 0391h 0392h 0393h 0394h 0395h 0396h 0397h 0398h 0399h 039Ah 039Bh 039Ch 039Dh 039Eh 039Fh Notes: 1. 2.
SFR Information (15/21) (1)
Register Symbol Reset Value
Count Source Protection Mode Register Watchdog Timer Refresh Register Watchdog Timer Start Register Watchdog Timer Control Register
CSPR WDTR WDTS WDC
00h (2) XXh XXh 00XX XXXXb
DMA2 Source Select Register DMA3 Source Select Register
DM2SL DM3SL
00h 00h
DMA0 Source Select Register DMA1 Source Select Register
DM0SL DM1SL
00h 00h
X: Undefined The blank areas are reserved. No access is allowed. When the CSPROINI bit in the OFS1 address is 0, the reset value is 10000000b.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 34 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.16
Address
03A0h 03A1h 03A2h 03A3h 03A4h 03A5h 03A6h 03A7h 03A8h 03A9h 03AAh 03ABh 03ACh 03ADh 03AEh 03AFh 03B0h 03B1h 03B2h 03B3h 03B4h 03B5h 03B6h 03B7h 03B8h 03B9h 03BAh 03BBh 03BCh 03BDh 03BEh 03BFh 03C0h 03C1h 03C2h 03C3h 03C4h 03C5h 03C6h 03C7h 03C8h 03C9h 03CAh 03CBh 03CCh 03CDh 03CEh 03CFh Note: 1.
SFR Information (16/21) (1)
Register Symbol Reset Value
SFR Snoop Address Register CRC Mode Register
CRCSAR CRCMR
XXXX XXXXb 00XX XXXXb 0XXX XXX0b
CRC Data Register CRC Input Register
CRCD CRCIN
XXh XXh XXh XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb XXXX XXXXb 0000 00XXb X: Undefined
A/D0 Register 0 A/D0 Register 1 A/D0 Register 2 A/D0 Register 3 A/D0 Register 4 A/D0 Register 5 A/D0 Register 6 A/D0 Register 7
AD00 AD01 AD02 AD03 AD04 AD05 AD06 AD07
The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 35 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.17
Address
03D0h 03D1h 03D2h 03D3h 03D4h 03D5h 03D6h 03D7h 03D8h 03D9h 03DAh 03DBh 03DCh 03DDh 03DEh 03DFh 03E0h 03E1h 03E2h 03E3h 03E4h 03E5h 03E6h 03E7h 03E8h 03E9h 03EAh 03EBh 03ECh 03EDh 03EEh 03EFh 03F0h 03F1h 03F2h 03F3h 03F4h 03F5h 03F6h 03F7h 03F8h 03F9h 03FAh 03FBh 03FCh 03FDh 03FEh 03FFh 0400h to D0FFh Note: 1.
SFR Information (17/21) (1)
Register Symbol Reset Value
A/D0 Trigger Control Register A/D0 Control Register 2 A/D0 Control Register 0 A/D0 Control Register 1 D/A0 Register D/A1 Register D/A Control Register
AD0TRGCON AD0CON2 AD0CON0 AD0CON1 DA0 DA1 DACON
XXXX 00XXb 0000 X00Xb 0000 0XXXb 0000 X000b 00h 00h XXXX XX00b
Port P0 Register Port P1 Register Port P0 Direction Register Port P1 Direction Register Port P2 Register Port P3 Register Port P2 Direction Register Port P3 Direction Register Port P4 Register Port P5 Register Port P4 Direction Register Port P5 Direction Register Port P6 Register Port P7 Register Port P6 Direction Register Port P7 Direction Register Port P8 Register Port P9 Register Port P8 Direction Register Port P9 Direction Register Port P10 Register Port P10 Direction Register
P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9 P10 PD10
XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh 00h
X: Undefined The blank areas are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 36 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.18
Address
D100h D101h D102h D103h D104h D105h D106h D107h D108h D109h D10Ah D10Bh D10Ch D10Dh D10Eh D10Fh D110h D111h D112h D113h D114h D115h D116h D117h D118h D119h D11Ah D11Bh D11Ch D11Dh D11Eh D11Fh D120h D121h D122h D123h D124h D125h D126h D127h D128h D129h D12Ah D12Bh D12Ch D12Dh D12Eh D12Fh
SFR Information (18/21) (1)
Register Symbol
USBIFR0 USBIFR1 USBIFR2 USBIFR3 00h XXX00000b XX000110b XX000110b
After Reset
USB interrupt flag register 0 USB interrupt flag register 1 USB interrupt flag register 2 USB interrupt flag register 3
USB interrupt enable register 0 USB interrupt enable register 1 USB interrupt enable register 2 USB interrupt enable register 3
USBIER0 USBIER1 USBIER2 USBIER3
000000X0b XXX00000b XX000000b XX000000b
USB interrupt select register 0 USB interrupt select register 1 USB interrupt select register 2 USB interrupt select register 3
USBISR0 USBISR1 USBISR2 USBISR3
00X000X0b XXX00000b XX000000b XX000000b
USB endpoint 0 IN data register
USBEPDR0I
XXh
USB endpoint 0 OUT data register
USBEPDR0O
00h
USB endpoint 0 S data register
USBEPDR0S
00h
X: Undefined Note: 1. Blanks are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 37 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.19
Address
D130h D131h D132h D133h D134h D135h D136h D137h D138h D139h D13Ah D13Bh D13Ch D13Dh D13Eh D13Fh D140h D141h D142h D143h D144h D145h D146h D147h D148h D149h D14Ah D14Bh D14Ch D14Dh D14Eh D14Fh D150h to D17Fh D180h D181h D182h D183h D184h D185h D186h D187h D188h D189h D18Ah D18Bh D18Ch D18Dh D18Eh D18Fh
SFR Information (19/21) (1)
Register Symbol
USBEPDR1 00h
After Reset
USB endpoint 1 data register
USB endpoint 2 data register
USBEPDR2
XXh
USB endpoint 3 data register
USBEPDR3
XXh
USB endpoint 4 data register
USBEPDR4
00h
USB endpoint 5 data register
USBEPDR5
XXh
USB endpoint 6 data register
USBEPDR6
XXh
USB endpoint 0 OUT receive data size register USB endpoint 1 receive data size register USB endpoint 4 receive data size register
USBEPSZ0O USBEPSZ1 USBEPSZ4
000XXXXXb 0XXXXXXXb 0XXXXXXXb
USB data status register 0 USB data status register 1 USB data status register 2
USBDASTS0 USBDASTS1 USBDASTS2
XXXXXXX0b XXXXX00Xb XXXXX00Xb
X: Undefined Note: 1. Blanks are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 38 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.20
Address
D190h D191h D192h D193h D194h D195h D196h D197h D198h D199h D19Ah D19Bh D19Ch D19Dh D19Eh D19Fh D1A0h D1A1h D1A2h D1A3h D1A4h D1A5h D1A6h D1A7h D1A8h D1A9h D1AAh D1ABh D1ACh D1ADh D1AEh D1AFh D1B0h D1B1h D1B2h D1B3h D1B4h D1B5h D1B6h D1B7h D1B8h D1B9h D1BAh D1BBh D1BCh D1BDh D1BEh D1BFh
SFR Information (20/21) (1)
Register Symbol
USBTRG0 USBTRG1 USBTRG2 XXh XXh XXh
After Reset
USB trigger register 0 USB trigger register 1 USB trigger register 2
USB FIFO clear register 0 USB FIFO clear register 1 USB FIFO clear register 2
USBFCLR0 USBFCLR1 USBFCLR2
XXh XXh XXh
USB endpoint stall register 0 USB endpoint stall register 1 USB endpoint stall register 2
USBEPSTL0 USBEPSTL1 USBEPSTL2
XXXXXXX0b XXXXX000b XXXXX000b
USB stall status register 1 USB stall status register 2
USBSTLSR1 USBSTLSR2
X000X000b X000X000b
USB DMA transfer setting register
USBDMAR
XXX00X00b
USB configuration value register
USBCVR
0000X000b
USB control register
USBCTLR
0XX00001b
X: Undefined Note: 1. Blanks are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 39 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.21
Address
D1C0h D1C1h D1C2h D1C3h D1C4h D1C5h D1C6h D1C7h D1C8h D1C9h D1CAh D1CBh D1CCh D1CDh D1CEh D1CFh
SFR Information (21/21) (1)
Register Symbol
USBEPIR XXh
After Reset
USB endpoint information register
USB module control register
USBMC
11X10XX0b
X: Undefined Note: 1. Blanks are reserved. No access is allowed.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 40 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
4.2 4.2.1
Notes on SFRs Register Settings
Table 4.22 lists Registers with Write-Only Bits and registers whose function differs between reading and writing. Set these registers with immediate values. When establishing the next value by altering the existing value, write the existing value to the RAM as well as to the register. Transfer the next value to the register after making changes in the RAM.
Table 4.22 Registers with Write-Only Bits
Register Watchdog Timer Refresh Register Watchdog Timer Start Register Timer A0 Register Timer A1 Register Timer A2 Register Timer A3 Register Timer A4 Register Timer A1-1 Register Timer A2-1 Register Timer A4-1 Register Three-Phase Output Buffer Register 0 Three-Phase Output Buffer Register 1 Dead Time Timer Timer B2 Interrupt Generation Frequency Set Counter UART0 Bit Rate Register UART1 Bit Rate Register UART2 Bit Rate Register UART3 Bit Rate Register UART4 Bit Rate Register UART5 Bit Rate Register UART0 Transmit Buffer Register UART1 Transmit Buffer Register UART2 Transmit Buffer Register UART3 Transmit Buffer Register UART4 Transmit Buffer Register UART5 Transmit Buffer Register I2C0 control register 1 I2C0 status register
Symbol WDTR WDTS TA0 TA1 TA2 TA3 TA4 TA11 TA21 TA41 IDB0 IDB1 DTT ICTB2 U0BRG U1BRG U2BRG U3BRG U4BRG U5BRG U0TB U1TB U2TB U3TB U4TB U5TB S3D0 S10
Address 037Dh 037Eh 0327h to 0326h 0329h to 0328h 032Bh to 032Ah 032Dh to 032Ch 032Fh to 032Eh 0303h to 0302h 0305h to 0304h 0307h to 0306h 030Ah 030Bh 030Ch 030Dh 0249h 0259h 0269h 02A9h 0299h 0289h 024Bh to 024Ah 025Bh to 025Ah 026Bh to 026Ah 02ABh to 02AAh 029Bh to 029Ah 028Bh to 028Ah 02B6h 02B8h
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 41 of 90
M16C/6C Group
4. Special Function Registers (SFRs)
Table 4.23
Registers with Write-Only Bits
Register USB endpoint 0 IN data register USB endpoint 2 data register USB endpoint 3 data register USB endpoint 5 data register USB endpoint 6 data register USB trigger register 0 USB trigger register 1 USB Trigger Register 2 USB FIFO Clear Register 0 USB FIFO Clear Register 1 USB FIFO Clear Register 2 USB Endpoint Stall Register 0 USB Endpoint Stall Register 1 USB Endpoint Stall Register 2 USB Endpoint Information Register
Symbol USBEPDR0I USBEPDR2 USBEPDR3 USBEPDR5 USBEPDR6 USBTRG0 USBTRG1 USBTRG2 USBFCLR0 USBFCLR1 USBFCLR2 USBEPSTL0 USBEPSTL1 USBEPSTL2 USBEPIR
Address D120h D134h D138h D144h D148h D190h D191h D192h D198h D199h D19Ah D1A0h D1A1h D1A2h D1C0h
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 42 of 90
M16C/6C Group
5. Electrical Characteristics
5.
5.1
Electrical Characteristics
Electrical Characteristics (Common to 3 V and 5 V) Absolute Maximum Rating
Absolute Maximum Ratings
Parameter Supply voltage Analog supply voltage Input voltage RESET, CNVSS P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, UVCC P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P7_0, P7_1, P8_5 Condition VCC1 = AVCC VCC2 VCC1 = AVCC Rated Value -0.3 to 6.5 -0.3 to VCC1 + 0.1 -0.3 to 6.5 -0.3 to VCC1 + 0.3 Unit V V V V
5.1.1
Table 5.1
Symbol
VCC1, VCC2 Supply voltage VCC2 AVCC VI
-0.3 to VCC2 + 0.3
V
-0.3 to 6.5 -0.3 to VCC1 + 0.3
V V
VO
Output voltage P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 XOUT, UVCC P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P7_0, P7_1, P8_5
-0.3 to VCC2 + 0.3
V
-0.3 to 6.5 -40C < Topr 85C 300 -20 to 85/-40 to 85 0 to 60 -65 to 150
V mW C
Pd Topr
Power consumption Operating ambient temperature When the microcomputer is operating Flash program erase
Tstg
Storage temperature
C
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 43 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.2
Table 5.2
Symbol VCC1, VCC2 AVCC UVCC
Recommended Operating Conditions
Recommended Operating Conditions (1/3) (1)
Parameter Supply voltage (VCC1 VCC2) Analog supply voltage USB Supply When USB function is used Voltage (When UVCC pin is input) When USB function is not used Supply voltage Analog supply voltage High input voltage P3_1 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (in single-chip mode) P0_0 to P0_7, P2_0 to P2_7, P3_0 (data input in memory expansion and microprocessor modes) P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS P7_0, P7_1, P8_5 0.8VCC2 0.8VCC2 0.5VCC2 VCC1 = 3.6 to 5.5V VCC1 = 3.0 to 3.6V VCC2 = 2.7 to 5.5V 3.0 3.0 When USB function is used When USB function is not used
Standard Min. 3.0 2.7 Typ. 5.0 5.0 VCC1 3.3 VCC1 0 0 VCC2 VCC2 VCC2 3.6 VCC1 Max. 5.5 5.5
Unit V V V V V V V V V V V
VSS AVSS VIH
0.8VCC1
VCC1
V
0.8VCC1 0 0 0
6.5 0.2VCC2 0.2VCC2 0.16VCC2
V V V V
VIL
Low input voltage
P3_1 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (in single-chip mode) P0_0 to P0_7, P2_0 to P2_7, P3_0 (data input in memory expansion and microprocessor mode) P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS
0
0.2VCC1
V
IOH(peak) High peak output current IOH(avg)
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7
-10.0
mA
High average P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7
-5.0
mA
Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 5.5 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. The average output current is the mean value within 100 ms. 3. The total IOL(peak) for ports P0, P1, P2, P8_6, P8_7, P9, and P10 must be 80 mA max. The total IOL(peak) for ports P3, P4, P5, P6, P7, and P8_0 to P8_5 must be 80 mA max. The total IOH(peak) for ports P0, P1, and P2 must be -40 mA max. The total IOH(peak) for ports P3, P4, and P5 must be -40 mA max. The total IOH(peak) for ports P6, P7_2 to P7_7 and P8_0 to P8_4 must be -40 mA max. IOH(peak) for ports P8_6, P8_7, P9, and P10 must be -40 mA max.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 44 of 90
M16C/6C Group
5. Electrical Characteristics
Table 5.3
Symbol
Recommended Operating Conditions (2/3) (1)
Parameter Standard Min. Typ. Max. 10.0 Unit mA
IOL(peak) Low peak P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output current P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 IOL(avg) Low average P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output current P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 Main clock input oscillation frequency Sub-clock oscillation frequency PLL clock oscillation frequency CPU operation clock PLL frequency synthesizer stabilization wait time VCC1 = 5.0 V VCC1 = 3.0 V VCC1 = 2.7 V to 5.5 V 10
fOCO-S divided by 16
5.0
mA
f(XIN) f(XCIN) f(PLL) f(BCLK) tSU(PLL)
VCC1 = 2.7 V to 5.5 V
2 32.768
16 50 32 32 2 3
MHz kHz MHz MHz ms ms
Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 5.5 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. The average output current is the mean value within 100 ms. 3. The total IOL(peak) for ports P0, P1, P2, P8_6, P8_7, P9, and P10 must be 80 mA max. The total IOL(peak) for ports P3, P4, P5, P6, P7, and P8_0 to P8_5 must be 80 mA max. The total IOH(peak) for ports P0, P1, and P2 must be -40 mA max. The total IOH(peak) for ports P3, P4, and P5 must be -40 mA max. The total IOH(peak) for ports P6, P7_2 to P7_7 and P8_0 to P8_4 must be -40 mA max. IOH(peak) for ports P8_6, P8_7, P9, and P10 must be -40 mA max.
Table 5.4 Recommended Operating Conditions (3/3) (1, 2) Supply ripple is to implement either Vr(VCC1) or dVr(VCC1)/dt, or both of them.
Symbol Vr(VCC1) Parameter Supply ripple available voltage VCC1 = 5.0 V VCC1 = 3.0 V dVr(VCC1)/dt Supply ripple fall gradient VCC1 = 5.0 V VCC1 = 3.0 V Standard Min. Typ. Max. 0.5 0.3 0.3 0.3 Unit Vp-p Vp-p V/ms V/ms
Notes: 1. The device is operationally guaranteed under these operating conditions. 2. Referenced to VCC1 = 2.7 to 5.5 V, VSS = 0V and at Topr = -20 to 85C/-40 to 85C unless otherwise specified.
VCC1
V r(VCC1)
Figure 5.1
Ripple waveform
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 45 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.3
Table 5.5
Symbol INL
A/D Conversion Characteristics
A/D Conversion Characteristics (1, 2, 3)
Parameter Resolution Integral non-linearity error 10bit VCC1 = AN0 to AN7 input, 5.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.3 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input Measuring Condition Standard Min. Typ. Max. 10 3 Unit Bits LSB
3
LSB
3
LSB
-
Absolute accuracy
10bit
VCC1 = AN0 to AN7 input, 5.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.3 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, (4) ANEX0, ANEX1 input
3
LSB
3
LSB
3
LSB
Notes: 1. Referenced to AVCC = VCC1 = VCC2 = VREF = 3.0 to 5.5 V, VSS = AVSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. This applies when using one A/D converter, with the ADSTBY bit for the unused A/D converter set to 0 (A/D operation stopped (standby)). 3. Use when AVCC = VCC1 = VCC2. 4. Flash memory rewrite disabled. Except for the analog input pin, set the pins to be measured as input ports and connect them to VSS. See Figure 5.2 "A/D accuracy measure circuit".
AN
Analog input AN:One of the analog input pin P0 to P10 I/O pins other than AN
P0 to P10
Figure 5.2
A/D accuracy measure circuit
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 46 of 90
M16C/6C Group
5. Electrical Characteristics
Table 5.6
Symbol AD
A/D Conversion Characteristics (1, 2, 3)
Parameter AD operation clock frequency Measuring Condition 4.0 V VREF AVCC 5.5 V 3.2 V VREF AVCC 5.5 V 3.0 V VREF AVCC 5.5 V Standard Min. 2 2 2 3 1 3 3 VCC1 = 5 V, AD = 25 MHz 1.60 0.60 3.0 0 AVCC VREF Typ. Max. 25 16 10 Unit MHz MHz MHz k LSB LSB LSB s s V V
DNL tCONV tSAMP VREF VIA
Tolerance level impedance Differential non-linearity error Offset error Gain error 10-bit conversion time Sampling time Reference voltage Analog input voltage(4, 5)
Notes: 1. Referenced to AVCC = VCC1 = VCC2 = VREF = 3.0 to 5.5 V, VSS = AVSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. This applies when using one A/D converter, with the ADSTBY bit for the unused A/D converter set to 0 (A/D operation stopped (standby)). 3. Use when AVCC = VCC1 = VCC2. 4. Do not use A/D converter VCC1 > VCC2. 5. When analog input voltage is over reference voltage, the result of A/D conversion is 3FFh.
5.1.4
Table 5.7
Symbol tSU RO IVREF
D/A Conversion Characteristics
D/A Conversion Characteristics (1)
Parameter Resolution Absolute Accuracy Setup Time Output Resistance Reference Power Supply Input Current Notes 2 and 3 5 6 Measuring Condition Standard Min. Typ. Max. 8 2.5 3 8.2 1.5 Unit Bits LSB s k mA
Notes: 1. Referenced to VCC1 = AVCC = VREF = 3.0 to 5.5 V, VSS = AVSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. This applies when using one D/A converter, with the D/A register for the unused D/A converter set to 00h. 3. The current consumption of the A/D converter is not included. Also, the IVREF of the D/A converter will flow even if the ADSTBY bit in the ADCON1 register is 0 (A/D operation stopped (standby)).
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 47 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.5
Table 5.8
Symbol VIH VIL VDI VCM VOH VOL VCRS tR tF tRFM ZDRV UVCC Isusp
USB Characteristics
USB Characteristics (1)
Parameter Input Characteristics HIGH Input Voltage LOW Input Voltage Differential Input Sensitivity Differential Common Mode Range Output Characteristics HIGH Output Voltage LOW Output Voltage Crossover Voltage Rise Time Fall Time Rise Time / Fall Time Matching Output Resistance UVCC Output Voltage Figure 5.3, Figure 5.4 IOH = 200 A Figure 5.3, Figure 5.4 IOL = 2 mA Figure 5.3, Figure 5.4 Figure 5.3, Figure 5.4 Figure 5.3, Figure 5.4 Figure 5.3, Figure 5.4 (tR/tF) Measuring Condition Figure 5.3, Figure 5.4 Standard Min. 2.0 0.2 0.8 2.8 1.3 4.0 4.0 90.0 28.0 3.0 VCC1 = 4.0 to 5.5 V UVCC - VSS 0.33 F VCC1 - VSS 0.1 F Typ. 3.3 VCC1 50 Max. 0.8 2.5 0.3 2.0 20.0 20.0 111.1 44.0 3.6 Unit V V V V V V V ns ns % V V A
Figure 5.3, Figure 5.4 Includes Rs = 27 VCC1 = 4.0 to 5.5V, PXXCON = VDDUSBE = 1
PXXCON = 0
Consumption current of the Internal Power Supply for USB
Notes:
1.
Referenced to VCC1 = 3.0 to 5.5 V, UVCC = 3.0 to 3.6 V, at Topr = -20 to 85 C / -40 to 85 C unless otherwise specified.
Rising time D+ DVCRS 10 % tR 90 %
Falling time 90 % 10 % tF Differential Date Lines
Figure 5.3
Data Signal Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 48 of 90
M16C/6C Group
5. Electrical Characteristics
D+
RS = 27
Test point
D-
RS = 27
Test point
Figure 5.4
Load Condition
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 49 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.6
Flash Memory Electrical Characteristics
CPU Clock When Operating Flash Memory (f(BCLK))
Parameter CPU rewrite mode Slow read mode Low current consumption read mode Data flash read 2.7 V VCC1 3.0 V 3.0 V < VCC1 5.5 V Conditions Standard Min. Typ. Max. 10 (1) 5(3) 35 16 20
(2) (2)
Table 5.9
Symbol f(SLO W_R) -
Unit MHz MHz kHz MHz MHz
Notes: 1. Set the PM17 bit in the PM1 register to 1 (one wait). 2. When the frequency is over this value, set the FMR17 bit in the FMR1 register to 0 (one wait) or the PM17 bit in the PM1 register to 1 (one wait) 3. Set the PM17 bit in the PM1 register to 1(one wait). A wait is not necessary when using 125 kHz on-chip oscillator clock or sub clock as the CPU clock source.
Table 5.10
Symbol tPS -
Flash Memory (Program ROM 1, 2) Electrical Characteristics
Parameter Conditions VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C 2.7 2.7 0 Ambient temperature = 55C 20 Standard Min. 1,000 (3) 150 70 0.2 4000 3000 3.0 5.5 5.5 60 50 Typ. Max. Unit times s s s V V C s year
Program/erase cycles (2, 4, 5) Two words program time Lock bit program time Block erase time Program, erase voltage Read voltage Program, erase temperature
Flash Memory Circuit Stabilization Wait Time Data hold time
(7)
Notes: 1. VCC1 = 2.7 to 5.5 V at Topr = 0 to 60C (option: -40C to 85C), unless otherwise specified. 2. Definition of program and erase cycles The program and erase cycles refer to the number of per-block erasures. If the program and erase cycles are n (n=1,000), each block can be erased n times. For example, if a 4 Kbyte block is erased after writing two word data 1,024 times, each to a different address, this counts as one program and erase cycles. Data cannot be written to the same address more than once without erasing the block (rewrite prohibited). 3. Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. In a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. For example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. It is also advisable to retain data on the erasure cycles of each block and limit the number of erase operations to a certain number. 5. If an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 50 of 90
M16C/6C Group
5. Electrical Characteristics
Table 5.11
Symbol tPS -
Flash Memory (Data Flash) Electrical Characteristics
Parameter Conditions VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C 2.7 2.7 0 Ambient temperature = 55 C 20 Standard Min. 10,000 (3) 300 140 0.2 4000 3000 3.0 5.5 5.5 60 50 Typ. Max. Unit times s s s V V C s year
Program/erase cycles (2, 4, 5) Two words program time Lock bit program time Block erase time Program, erase voltage Read voltage Program, erase temperature
Flash Memory Circuit Stabilization Wait Time Data hold time (7)
Notes: 1. VCC1 = 2.7 to 5.5 V at Topr = 0 to 60C unless otherwise specified. 2. Definition of program and erase cycles The program and erase cycles refer to the number of per-block erasures. If the program and erase cycles are n (n=10,000), each block can be erased n times. For example, if a 4 Kbyte block is erased after writing two word data 1,024 times, each to a different address, this counts as one program and erase cycles. Data cannot be written to the same address more than once without erasing the block (rewrite prohibited). 3. Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. In a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. For example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. In addition, averaging the erasure cycles between blocks A and B can further reduce the actual erasure cycles. It is also advisable to retain data on the erasure cycles of each block and limit the number of erase operations to a certain number. 5. If an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 51 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.7
Voltage Detection Characteristics
Circuit
and
Power
Supply
Circuit
Electrical
Table 5.12
Symbol Vdet0 td(E-A)
Voltage Detection 0 Circuit Electrical Characteristics
Parameter Voltage detection level Vdet0_0 (2) Voltage detection level Vdet0_2 (2) Voltage detection 0 circuit response time(4) At the falling of VCC from 5 V to (Vdet 0_0 - 0.1)V VC25 = 1, VCC1 = 5.0 V Condition Standard Min. 1.60 2.70 Typ. 1.90 2.85 1.5 100 Max. 2.20 3.15 200 Unit V V s A s
Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (3)
Notes: 1. The measurement condition is Topr = -20 to 85C/-40 to 85C. 2. Select the voltage detection level with the VDSEL1 bit in the OFS1 address. 3. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VC25 bit in the VCR2 register to 0. 4. Necessary time until the voltage monitor 0 reset generates after passing through Vdet0.
Table 5.13
Symbol Vdet1 td(E-A)
Voltage Detection 1 Circuit Electrical Characteristics
Parameter Voltage detection level Vdet1 Hysteresis width at the rising of VCC of Voltage detection 1 circuit Voltage detection 1 circuit response time(2) Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (3) At the falling of VCC from 5 V to (Vdet 1 - 0.1)V VC26 = 1, VCC1 = 5.0 V Condition When VCC is falling Standard Min. 2.95 Typ. 3.25 0.15 1.7 100 Max. 3.55 200 Unit V V s A s
Notes: 1. The measurement condition is Topr = -20 to 85C/-40 to 85C. 2. Necessary time until the voltage monitor 1 interrupt request generates after passing through Vdet1. 3. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VC26 bit in the VCR2 register to 0.
Table 5.14
Symbol Vdet2 td(E-A)
Voltage Detection 2 Circuit Electrical Characteristics
Parameter Voltage detection level Vdet2 Hysteresis width at the rising of VCC in voltage detection 2 circuit Voltage detection 2 circuit response time(2) Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (2) At the falling of VCC from 5 V to (Vdet 2 - 0.1)V VC27 = 1, VCC1 = 5.0 V Condition When VCC is falling Standard Min. 3.70 Typ. 4.00 0.15 1.7 100 Max. 4.30 200 Unit V V s A s
Notes: 1. The measurement condition is Topr = -20 to 85C/-40 to 85C. 2. Necessary time until the voltage monitor 2 interrupt request generates after passing through Vdet2 3. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VC27 bit in the VCR2 register to 0.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 52 of 90
M16C/6C Group
5. Electrical Characteristics
Table 5.15
Symbol trth
Power-On Reset Circuit
Parameter External power VCC1 rise gradient Condition VCC1 = 2.0 to 5.5V Standard Min. 2.0 Typ. Max. 50000 Unit mV/ms
Notes: 1. The measurement condition is Topr = -20 to 85C/ -40 to 85C, unless otherwise specified. 2. To use the power-on reset function, enable voltage monitor 0 reset by setting the LVDAS bit in the OFS1 address to 0.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 53 of 90
M16C/6C Group
5. Electrical Characteristics
Vdet0 (1) External Power VCC1 0.1 V tw(por) (2) Voltage detection 0 circuit response time t rth t rth
Vdet0 (1)
Internal reset signal 1 fOCO-S 1 fOCO-S
x 32
x 32
Notes: 1. Vdet0 indicates the voltage detection level of the voltage detection 0 circuit. 2. When using power-on reset, hold the external power VCC1 at or below the valid voltage (0.1 V) during tw(por), and then turn it on. tw(por) is 30 s or more when -20 C Topr 85 C, and 3000 s or more when -40 C Topr < -20 C.
Figure 5.5
Power-On Reset Circuit Electrical Characteristics
Table 5.16
Symbol td(P-R) td(R-S) td(W-S)
Power Supply Circuit Timing Characteristics
Parameter Internal power supply stability time when power is on (2) STOP release time Low power mode wait mode release time Condition Standard Min. Typ. Max. 5 150 150 Unit ms s s
Notes: 1. The measurement condition is VCC1 = 2.7 to 5.5 V and Topr = 25C. 2. Waiting time until the internal power supply generation circuit stabilizes when power is on.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 54 of 90
M16C/6C Group
5. Electrical Characteristics
td(P-R) Internal power supply stability time when power is on
Recommended operation voltage Vcc1 td(P-R) CPU clock
td(R-S) STOP release time td(W-S) Low power mode wait mode release time
Interrupt for (a) Stop mode release or (b) Wait mode release
CPU clock (a) (b) td(E-A) Voltage detector operation start time td(R-S) td(W-S)
VC25, VC26, VC27
Voltage detector
Stop
Operate
td(E-A)
Figure 5.6
Power Supply Circuit Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 55 of 90
M16C/6C Group
5. Electrical Characteristics
5.1.8
Table 5.17
Symbol fOCO40M
Oscillation Circuit Electrical Characteristics
40 MHz On-Chip Oscillator Circuit Electrical Characteristics
Parameter 40 MHz on-chip oscillator frequency Wait time until 40 MHz on-chip oscillator stabilizes Condition Average frequency in a 10 ms period 2.7 V VCC1 < 5.5 V Standard Min. 36 Typ. 40 Max. 44 2 Unit MHz ms
tsu(fOCO40M)
Note: 1. VCC1 = 2.7 to 5.5 V, Topr = -20 to 85C/-40 to 85C, unless otherwise specified.
Table 5.18
Symbol fOCO-S tsu(fOCO-S)
125 kHz On-Chip Oscillator Circuit Electrical Characteristics
Parameter 125 kHz on-chip oscillator frequency Wait time until 125 kHz on-chip oscillator stabilizes Condition Average frequency in a 10 ms period Standard Min. 100 Typ. 125 Max. 150 20 Unit kHz s
Note: 1. VCC1 = 2.7 to 5.5 V, Topr = -20 to 85C/-40 to 85C, unless otherwise specified.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 56 of 90
M16C/6C Group
5. Electrical Characteristics
5.2 5.2.1
Electrical Characteristics (VCC1 = VCC2 = 5 V) Electrical Characteristics VCC1 = VCC2 = 5 V
Electrical Characteristics (1)
Parameter High output P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, voltage P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
(1, 2)
Table 5.19
Symbol VOH
Measuring Condition IOH = -5 mA IOH = -5 mA IOH = -200 A IOH = -200 A IOH = -1 mA IOH = -0.5 mA With no load applied With no load applied IOL = 5 mA IOL = 5 mA IOL = 200 A IOL = 200 A IOL = 1 mA IOL = 0.5 mA With no load applied With no load applied
Standard Min. VCC1 - 2.0 VCC2 - 2.0 VCC1 - 0.3 VCC2 - 0.3 VCC1 - 2.0 VCC1 - 2.0 2.6 2.2 2.0 2.0 0.45 0.45 2.0 2.0 0 0 Typ. Max. VCC1 VCC2 VCC1 VCC2 VCC1 VCC1
Unit V
VOH
High output P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, voltage P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
V
VOH
High output voltage
XOUT
HIGHPOWER LOWPOWER
V
High output voltage
XCOUT
HIGHPOWER LOWPOWER
V
VOL
Low output P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, voltage P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
V
VOL
Low output P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, voltage P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
V
VOL
Low output voltage
XOUT
HIGHPOWER LOWPOWER
V
Low output voltage
XCOUT
HIGHPOWER LOWPOWER
V
Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 57 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V
Table 5.20
Symbol VT+ - VT- Hysteresis
Electrical Characteristics (2)
Parameter
(1, 2)
Measuring Condition
Standard Min. 0.5 Typ. Max. 2.0
Unit V
HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, INT0 to INT7, NMI, ADTRG, CTS0 to CTS5, SCL0 to SCL5, SDA0 to SDA5, CLK0 to CLK5, TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD5, SD, SCLMM, SDAMM RESET P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 VI = 5 V
VT+ - VT- Hysteresis IIH High input current
0.5
2.5 5.0
V A
IIL
Low input current
VI = 0 V
-5.0
A
RPULLUP Pull-up resistance
VI = 0 V
30
50
100
k
RfXIN RfXCIN VRAM
Feedback resistance XIN Feedback resistance XCIN RAM retention voltage In stop mode 1.8
1.5 8
M M V
Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 58 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V
Table 5.21
Symbol ICC
Electrical Characteristics (3) (1)
Parameter Measuring Condition High-speed mode Min. Standard Unit Typ. Max. 27.0 mA
Power supply current
f(BCLK) = 32 MHz XIN = 4MHz (square wave), PLL multiplied by 8 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) =32 MHz, A/D conversion(3) pin are open and XIN = 4 MHz (square wave), other pins are VSS PLL multiplied by 8 125 kHz on-chip oscillator stop f(BCLK) = 16 MHz XIN = 16MHz (square wave), 125 kHz on-chip oscillator stop 40 MHz on-chip Main clock stop oscillator mode 40 MHz on-chip oscillator on, no division 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator Low40 MHz on-chip oscillator stop power mode 125 kHz on-chip oscillator on, no division FMR22 = 1 Low-power mode f(BCLK) = 32 kHz In low-power mode, FMR22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 kHz In low-power mode, on RAM (2) Wait mode Main clock stop 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator on Peripheral clock operation Topr = 25C f(XCIN) = 32 kHz (oscillation capacity High) 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C f(XCIN) = 32 kHz (oscillation capacity Low) 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C Stop mode Main clock stop 40MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C
27.7
mA
13.0
mA mA
17.0
500.0
A
160.0
A
45.0
A
21.0
A
11.0
A
6.0
A
2.2
A
Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C, f(BCLK) = 32 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists. 3. This applies when using one A/D converter (AD=25MHz), with the ADSTBY bit for the unused A/D converter set to 0 (A/D operation stopped (standby)).
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 59 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V 5.2.2 Timing Requirements (Peripheral Functions and Others)
(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.22
Symbol tc tw(H) tw(L) tr tf Note: 1. External clock input cycle time External clock input high pulse width External clock input low pulse width External clock rise time External clock fall time The condition is VCC1 = VCC2 = 3.0 to 5.0 V.
External Clock Input (XIN Input) (1)
Parameter Standard Min. 50 20 20 9 9 Max. Unit ns ns ns ns ns
Table 5.23
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (Counter Input in Event Counter Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 100 40 40 Max. Unit ns ns ns
Table 5.24
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (Gating Input in Timer Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns
Table 5.25
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (External Trigger Input in One-Shot Timer Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 200 100 100 Max. Unit ns ns ns
Table 5.26
Symbol tw(TAH) tw(TAL)
Timer A Input (External Trigger Input in Pulse Width Modulation Mode)
Parameter TAiIN input high pulse width TAiIN input low pulse width Standard Min. 100 100 Max. Unit ns ns
Table 5.27
Symbol tc(TA)
tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
Parameter TAiIN input cycle time TAiOUT input setup time TAiIN input setup time Standard Min. 800 200 200 Max. Unit ns ns ns
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 60 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = Timing Requirements (VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.28
Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL)
VCC2 = 5 V
Timer B Input (Counter Input in Event Counter Mode)
Parameter TBiIN input cycle time (counted on one edge) TBiIN input high pulse width (counted on one edge) TBiIN input low pulse width (counted on one edge) TBiIN input cycle time (counted on both edges) TBiIN input high pulse width (counted on both edges) TBiIN input low pulse width (counted on both edges) Standard Min. 100 40 40 200 80 80 Max. Unit ns ns ns ns ns ns
Table 5.29
Symbol tc(TB) tw(TBH) tw(TBL)
Timer B Input (Pulse Period Measurement Mode)
Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns
Table 5.30
Symbol tc(TB) tw(TBH) tw(TBL)
Timer B Input (Pulse Width Measurement Mode)
Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns
Table 5.31
Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D)
Serial Interface
Parameter CLKi input cycle time CLKi input high pulse width CLKi input low pulse width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time 0 70 90 Standard Min. 200 100 100 80 Max. Unit ns ns ns ns ns ns ns
Table 5.32
Symbol tw(INH) tw(INL)
External Interrupt INTi Input
Parameter Standard Min. 250 250 Max. Unit ns ns
INTi input high pulse width
INTi input low pulse width
Table 5.33
Symbol tw(RSTL)
Reset Input (RESET Input)
Parameter
RESET input low pulse width
Standard Min. 10 Max.
Unit s
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 61 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V
VCC1 = VCC2 = 5 V
XIN input tr t w(H) tf tc t w(L)
tc(TA) t w(TAH) TAiIN input t w(TAL) tc(UP) t w(UPH) TAiOUT input t w(UPL)
Two-phase pulse input in event counter mode tc(TA) TAiIN input tsu(TAIN-TAOUT) TAiOUT input tsu(TAOUT-TAIN) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)
tc(TB) t w(TBH) TBiIN input t w(TBL)
Figure 5.7
Timing Diagram (1)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 62 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1=VCC2=5V
tc(CK) tw(CKH) CLKi tw(CKL) th(C-Q) TXDi td(C-Q) RXDi tw(INL) INTi input tw(INH) tsu(D-C) th(C-D)
RESET input t w(RTSL)
Figure 5.8
Timing Diagram (2)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 63 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V 5.2.3 Timing Requirements (Memory Expansion Mode and Microprocessor Mode)
(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.34
Symbol tac1(RD-DB) tac2(RD-DB) tac3(RD-DB) tsu(DB-RD) tsu(RDY-BCLK) tsu(HOLD-BCLK) th(RD-DB) th(BCLK-RDY) th(BCLK-HOLD)
Memory Expansion Mode and Microprocessor Mode
Parameter Data input access time (for setting with no wait) Data input access time (for setting with 1 to 3 waits) Data input access time (when accessing multiplex bus area) Data input setup time RDY input setup time HOLD input setup time Data input hold time RDY input hold time HOLD input hold time 40 30 40 0 0 0 Standard Min. Max. (Note 1) (Note 2) (Note 3) Unit ns ns ns ns ns ns ns ns ns
Notes: 1. Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 45 [ ns ] -
f ( BCLK )
2.
Calculated according to the BCLK frequency as follows:
9 ( n + 0.5 )x10 ------------------------------------- - 45 [ ns ] -
f ( BCLK )
n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting.
3.
Calculated according to the BCLK frequency as follows:
9 ( n - 0.5 )x10 ------------------------------------ - 45 [ ns ] -
f ( BCLK )
n is 2 for 2 waits setting, and 3 for 3 waits setting.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 64 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
VCC1 = VCC2 = 5 V
(Effective in wait state setting)
BCLK
RD (Separate bus) WR (Separate bus) RD (Multiplexed bus) WR (Multiplexed bus)
RDY input tsu(RDY-BCLK) th(BCLK-RDY)
(Common to wait state and no wait state settings)
BCLK
tsu(HOLD-BCLK) HOLD input
th(BCLK-HOLD)
HLDA input td(BCLK-HLDA) td(BCLK-HLDA)
Hi-Z
P0, P1, P2, P3, P4, P5_0 to P5_2 (1)
Note: 1. These pins are high-impedance regardless of PM06 bit in PM0 register and PM11 bit in PM1 register.
Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 1.0 V, V = 4.0 V IL IH Output timing voltage: V = 2.5 V, V = 2.5 V OL OH
Figure 5.9
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 65 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V 5.2.4 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting))
(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.35
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA) Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time
(3)
Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting)
Parameter Measuring Condition Standard Min. Max. 25 0 0 (Note 2) 25 0 15 -4 See Figure 5.10 0 25 0 40 0 (Note 1) (Note 2) 40 25 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Notes: 1. Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 40 [ ns ] -
f ( BCLK )
f(BCLK) is 12.5 MHz or less.
2.
Calculated according to the BCLK frequency as follows: f ( BCLK ) This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = -CR x ln(1-VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = -30 pF x 1 k x In(1 - 0.2VCC2/VCC2) = 6.7 ns.
9 0.5x10 --------------------- - 10 [ ns ] -
3.
R DBi C
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 66 of 90
M16C/6C Group
5. Electrical Characteristics
P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10
30 pF
Figure 5.10
Ports P0 to P10 Measurement Circuit
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 67 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode (in no wait state setting)
Read timing
VCC1 = VCC2 = 5 V
BCLK td(BCLK-CS)
25ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
25ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 15ns(max.)
th(BCLK-ALE) -4ns(min.)
th(RD-AD)
0ns(min.)
ALE td(BCLK-RD) 25ns(max.) RD tac1(RD-DB) (0.5 x tcyc -45)ns(max.) Hi-Z DBi tsu(DB-RD)
40ns(min.)
th(BCLK-RD)
0ns(min.)
th(RD-DB)
0ns(min.)
Write timing
BCLK td(BCLK-CS)
25ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
25ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 15ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(WR-AD) (0.5 x tcyc -10)ns(min.) th(BCLK-WR)
0ns(min.)
ALE td(BCLK-WR)
25ns(max.)
WR td(BCLK-DB)
40ns(max.)
th(BCLK-DB) 0ns(min.)
DBi
Hi-Z td(DB-WR) (0.5 x tcyc -40)ns(min.) tcyc = 1 f(BCLK) th(WR-DB) (0.5 x tcyc -10)ns(min.)
Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH
Figure 5.11
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 68 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V 5.2.5 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area))
(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.36 Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)(3) HLDA output delay time
(3)
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)
Measuring Condition
Standard Min. Max. 25 0 0 (Note 2) 25 0 15 -4
Unit ns ns ns ns ns ns ns ns
See Figure 5.10 0
25
ns ns
25 0 40 0 (Note 1) (Note 2) 40
ns ns ns ns ns ns ns
Notes: 1. Calculated according to the BCLK frequency as follows:
9 ( n - 0.5 )x10 ------------------------------------- - 40 [ ns ]
f ( BCLK )
n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. When n = 1, f(BCLK) is 12.5 MHz or less.
2.
Calculated according to the BCLK frequency as follows: f ( BCLK ) This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pullup (pull-down) resistance value. Hold time of data bus is expressed in t = -CR x ln(1 - VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1k, hold time of output low level is t = -30 pF x 1 k x In(1 - 0.2VCC2/VCC2) = 6.7 ns.
9 0.5x10 --------------------- - 10 [ ns ] -
3.
R DBi C
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 69 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
(in 1 to 3 waits setting and when accessing external area) Read timing
BCLK td(BCLK-CS)
25ns(max.)
VCC1 = VCC2 = 5 V
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
25ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE)
15ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(RD-AD)
0ns(min.)
ALE td(BCLK-RD)
25ns(max.)
th(BCLK-RD)
0ns(min.) {(n+0.5) x t cyc - 45}ns(max.)
RD
tac2(RD-DB)
DBi
Hi-Z tsu(DB-RD)
40ns(min.)
th(RD-DB)
0ns(min.)
Write timing
BCLK td(BCLK-CS)
25ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
25ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE)
15ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(WR-AD)
(0.5 x tcyc -10)ns(min.)
ALE td(BCLK-WR)
25ns(max.)
th(BCLK-WR)
0ns(min.)
WR td(BCLK-DB)
40ns(max.)
th(BCLK-DB)
0ns(min.)
Hi-Z DBi td(DB-WR) {(n-0.5) x t cyc - 40}ns(min.) 1 f(BCLK) th(WR-DB)
(0.5 x tcyc -10)ns(min.)
tcyc =
Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH
n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits)
Figure 5.12
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 70 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 5 V 5.2.6 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus))
(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.37 Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus) (5)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) Chip select output hold time (in relation to RD) Chip select output hold time (in relation to WR) RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) th(RD-CS) th(WR-CS) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB)
td(BCLK-HLDA)
Measuring Condition
Standard Min. Max. 25 0 (Note 1) (Note 1) 25 0 (Note 1) (Note 1) 25 0 25
Unit ns ns ns ns ns ns ns ns ns ns ns ns
See Figure 5.10
0 40 0 (Note 2) (Note 1) 40 15
ns ns ns ns ns ns ns ns ns ns ns
td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(AD-ALE) td(AD-RD) td(AD-WR) tdz(RD-AD)
ALE signal output delay time (in relation to BCLK) ALE signal output hold time (in relation to BCLK) ALE signal output delay time (in relation to Address) ALE signal output hold time (in relation to Address) RD signal output delay from the end of address WR signal output delay from the end of address Address output floating start time
-4
(Note 3) (Note 4) 0 0 8
ns
Notes: 1. Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 10 [ ns ] -
f ( BCLK )
2.
Calculated according to the BCLK frequency as follows: 9 ( n - 0.5 )x10 ----------------------------------- - 40 [ ns ] n is 2 for 2-wait setting, 3 for 3-wait setting. -
f ( BCLK )
3.
Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 25 [ ns ] -
f ( BCLK )
4.
Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 15 [ ns ] -
f ( BCLK )
5.
When using multiplex bus, set f(BCLK) 12.5 MHz or less.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 71 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
Read timing
VCC1 = VCC2 = 5 V
(in 2 or 3 waits setting, and when accessing external area and using multiplexed bus )
BCLK
td(BCLK-CS)
25ns(max.)
th(BCLK-CS) tcyc
(0.5 x tcyc -10)ns(min.)
th(RD-CS)
0ns(min.)
CSi td(AD-ALE) (0.5 x tcyc -25ns(min.) ADi /DBi th(ALE-AD) (0.5 x tcyc -15ns(min.) tdz(RD-AD)
8ns(max.)
Address
Data input
Address
tsu(DB-RD) tac3(RD-DB) {(n-0.5) x tcyc -45}ns(max.) 40ns(min.)
th(RD-DB)
0ns(min.)
td(BCLK-AD)
25ns(max.)
td(AD-RD)
0ns(min.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 15ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(RD-AD) (0.5 x tcyc -10)ns(min.) td(BCLK-RD) 25ns(max.) th(BCLK-RD)
0ns(min.)
ALE
RD
Write timing
BCLK td(BCLK-CS)
25ns(max.)
tcyc
th(WR-CS) (0.5 x tcyc -10)ns(min.)
th(BCLK-CS)
0ns(min.)
CSi td(BCLK-DB)
40ns(max.)
th(BCLK-DB)
0ns(min.)
ADi /DBi
Address
Data output
Address
td(AD-ALE) (0.5 x tcyc -25ns(min.) td(BCLK-AD)
25ns(max.)
td(DB-WR) {(n-0.5) x t cyc - 40}ns(min.)
th(WR-DB) (0.5 x tcyc -10)ns(min.) th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 15ns(max.)
th(BCLK-ALE)
-4ns(min.)
td(AD-WR)
0ns(min.)
th(WR-AD) (0.5 x tcyc -10)ns(min.) th(BCLK-WR)
0ns(min.)
ALE td(BCLK-WR) 25ns(max.) WR
Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH
n: 2 (when 2 waits) 3 (when 3 waits)
Figure 5.13
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 72 of 90
M16C/6C Group
5. Electrical Characteristics
5.3 5.3.1
Electrical Characteristics (VCC1 = VCC2 = 3 V) Electrical Characteristics VCC1 = VCC2 = 3 V
Electrical Characteristics (1)
Parameter High output voltage P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
(1, 2)
Table 5.38
Symbol VOH
Measuring Condition IOH = -1 mA
Standard Min. VCC1 - 0.5 Typ. Max. VCC1
Unit V
IOH = -1 mA
VCC2 - 0.5
VCC2
VOH
High output voltage
XOUT
HIGHPOWER LOWPOWER
IOH = -0.1 mA IOH = -50 A With no load applied With no load applied IOL = 1 mA
VCC1 - 0.5 VCC1 - 0.5 2.6 2.2
VCC1 VCC1
V
High output voltage VOL
XCOUT
HIGHPOWER LOWPOWER
V 0.5 V
Low output P6_0 to P6_7, P7_0 to P7_7, voltage P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
IOL = 1 mA
0.5
VOL
Low output voltage
XOUT
HIGHPOWER LOWPOWER
IOL = 0.1 mA IOL = 50 A With no load applied With no load applied 0.2 0 0
0.5 0.5
V
Low output voltage
XCOUT
HIGHPOWER LOWPOWER
V 1.0 V
VT+-VT- Hysteresis HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, INT0 to INT7, NMI, ADTRG, CTS0 to CTS5, SCL0 to SCL5, SDA0 to SDA5, CLK0 to CLK5, TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD5, SD, SCLMM, SDAMM VT+-VT- Hysteresis RESET IIH High input P0_0 to P0_7, P1_0 to P1_7, current P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS VI = 3 V
0.2
1.8 4.0
V A
Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 73 of 90
M16C/6C Group
5. Electrical Characteristics
Table 5.39
Symbol IIL
Electrical Characteristics (2) (1, 2)
Parameter Measuring Condition VI = 0 V Standard Min. Typ. Max. -4.0 Unit A
Low input current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS
RPULLUP Pull-up P0_0 to P0_7, P1_0 to P1_7, resistance P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 RfXIN RfXCIN VRAM Feedback resistance XIN Feedback resistance XCIN RAM retention voltage
VI = 0 V
50
80
150
k
3.0 16 In stop mode 1.8
M M V
Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 74 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V
Table 5.40
Symbol ICC
Electrical Characteristics (3)
Parameter
(1)
Measuring Condition High-speed mode
Min.
Standard Unit Typ. Max. 27.0 mA
Power supply current
f(BCLK) = 32 MHz XIN = 4MHz (square wave), PLL multiplied by 8 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) =32 MHz, A/D conversion(3) pin are open and XIN = 4 MHz (square wave), other pins are VSS PLL multiplied by 8 125 kHz on-chip oscillator stop f(BCLK) = 16 MHz XIN = 16MHz (square wave), 125 kHz on-chip oscillator stop 40 MHz on-chip Main clock stop oscillator mode 40 MHz on-chip oscillator on, no division 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator Low40 MHz on-chip oscillator stop power mode 125 kHz on-chip oscillator on, no division FMR22 = 1 Low-power mode f(BCLK) = 32 kHz In low-power mode, FMR22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 kHz In low-power mode, on RAM (2) Wait mode Main clock stop 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator on Peripheral clock operation Topr = 25C f(XCIN) = 32 kHz (oscillation capacity High) 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C f(XCIN) = 32 kHz (oscillation capacity Low) 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C Stop mode Main clock stop 40 MHz on-chip oscillator stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C
27.7
mA
13.0
mA mA
17.0
450.0
A
160.0
A
40.0
A
20.0
A
8.0
A
6.0
A
2.0
A
Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = -20 to 85C/-40 to 85C, f(BCLK) = 32 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists. 3. This applies when using one A/D converter (AD=25MHz), with the ADSTBY bit for the unused A/D converter set to 0 (A/D operation stopped (standby)).
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 75 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V 5.3.2 Timing Requirements (Peripheral Functions and Others)
(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.41
Symbol tc tw(H) tw(L) tr tf Note: 1. External clock input cycle time External clock input high pulse width External clock input low pulse width External clock rise time External clock fall time
External Clock Input (XIN Input) (1)
Parameter Standard Min. 50 20 20 9 9 Max. Unit ns ns ns ns ns
The condition is VCC1 = VCC2 = 2.7 to 3.0 V.
Table 5.42
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (Counter Input in Event Counter Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 150 60 60 Max. Unit ns ns ns
Table 5.43
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (Gating Input in Timer Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns
Table 5.44
Symbol tc(TA) tw(TAH) tw(TAL)
Timer A Input (External Trigger Input in One-Shot Timer Mode)
Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 300 150 150 Max. Unit ns ns ns
Table 5.45
Symbol tw(TAH) tw(TAL)
Timer A Input (External Trigger Input in Pulse Width Modulation Mode)
Parameter TAiIN input high pulse width TAiIN input low pulse width Standard Min. 150 150 Max. Unit ns ns
Table 5.46
Symbol
tc(TA) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
Parameter TAiIN input cycle time TAiOUT input setup time TAiIN input setup time Standard Min. 2 500 500 Max. Unit
s
ns ns
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 76 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 Timing Requirements (VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.47
Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL)
= VCC2 = 3 V
Timer B Input (Counter Input in Event Counter Mode)
Parameter TBiIN input cycle time (counted on one edge) TBiIN input high pulse width (counted on one edge) TBiIN input low pulse width (counted on one edge) TBiIN input cycle time (counted on both edges) TBiIN input high pulse width (counted on both edges) TBiIN input low pulse width (counted on both edges) Standard Min. 150 60 60 300 120 120 Max. Unit ns ns ns ns ns ns
Table 5.48
Symbol tc(TB) tw(TBH) tw(TBL)
Timer B Input (Pulse Period Measurement Mode)
Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns
Table 5.49
Symbol tc(TB) tw(TBH) tw(TBL)
Timer B Input (Pulse Width Measurement Mode)
Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns
Table 5.50
Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D)
Serial Interface
Parameter CLKi input cycle time CLKi input high pulse width CLKi input low pulse width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time 0 100 90 Standard Min. 300 150 150 160 Max. Unit ns ns ns ns ns ns ns
Table 5.51
Symbol tw(INH) tw(INL)
External Interrupt INTi Input
Parameter
INTi input high pulse width INTi input low pulse width
Standard Min. 380 380 Max.
Unit ns ns
Table 5.52
Symbol tw(RSTL)
Reset Input (RESET Input)
Parameter
RESET input low pulse width
Standard Min. 10 Max.
Unit
s
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 77 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = Timing Requirements (VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
VCC2 = 3 V
VCC1 = VCC2 = 3 V
XIN input tr t w(H) tf tc t w(L)
tc(TA) t w(TAH) TAiIN input t w(TAL) tc(UP) t w(UPH) TAiOUT input t w(UPL)
Two-phase pulse input in event counter mode tc(TA) TAiIN input tsu(TAIN-TAOUT) TAiOUT input tsu(TAOUT-TAIN) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)
tc(TB) t w(TBH) TBiIN input t w(TBL)
Figure 5.14
Timing Diagram (1)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 78 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1=VCC2=3V
tc(CK) tw(CKH)
CLKi
tw(CKL) th(C-Q)
TXDi
td(C-Q) tsu(D-C) th(C-D)
RXDi
tw(INL)
INTi input
tw(INH)
RESET input t w(RTSL)
Figure 5.15
Timing Diagram (2)
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 79 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V 5.3.3 Timing Requirements (Memory Expansion Mode and Microprocessor Mode)
(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.53
Symbol tac1(RD-DB) tac2(RD-DB) tac3(RD-DB) tsu(DB-RD) tsu(RDY-BCLK) tsu(HOLD-BCLK) th(RD-DB) th(BCLK-RDY) th(BCLK-HOLD)
Memory Expansion Mode and Microprocessor Mode
Parameter Data input access time (for setting with no wait) Data input access time (for setting with wait) Data input access time (when accessing multiplex bus area) Data input setup time RDY input setup time HOLD input setup time Data input hold time RDY input hold time HOLD input hold time 50 40 50 0 0 0 Standard Min. Max. (Note 1) (Note 2) (Note 3) Unit ns ns ns ns ns ns ns ns ns
Notes: 1. Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 60 [ ns ] -
f ( BCLK )
2.
Calculated according to the BCLK frequency as follows:
9 ( n + 0.5 )x10 ------------------------------------- - 60 [ ns ] -
f ( BCLK )
n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting.
3.
Calculated according to the BCLK frequency as follows:
9 ( n - 0.5 )x10 ----------------------------------- - 60 [ ns ] -
f ( BCLK )
n is 2 for 2 waits setting, 3 for 3 waits setting.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 80 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
VCC1 = VCC2 = 3 V
(Effective in wait state setting)
BCLK
RD (Separate bus) WR (Separate bus) RD (Multiplexed bus) WR (Multiplexed bus)
RDY input tsu(RDY-BCLK) th(BCLK-RDY)
(Common to wait state and no wait state settings)
BCLK
tsu(HOLD-BCLK) HOLD input
th(BCLK-HOLD)
HLDA input td(BCLK-HLDA) td(BCLK-HLDA)
Hi-Z
P0, P1, P2, P3, P4, P5_0 to P5_2 (1)
Note: 1. These pins are high-impedance regardless PM06 bit in PM0 register, and PM11 bit in PM1 register.
Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH
Figure 5.16
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 81 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V 5.3.4 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting))
(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.54
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)
Memory Expansion and Microprocessor Modes (in No Wait State Setting)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR) (3) HLDA output delay time 0 (Note 1) (Note 2) 40 0 40 See Figure 5.17 0 30 -4 30 0 25 0 0 (Note 2) 30 Measuring Condition Standard Min. Max. 30 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Notes: 1. Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 40 [ ns ] f -
f ( BCLK )
f(BCLK) is 12.5 MHz or less.
2.
Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 10 [ ns ] -
f ( BCLK )
This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. Hold time of data bus is expressed in t= -CR x ln(1 - VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = -30 pF x 1 k x In(1 - 0.2VCC2/VCC2) = 6.7 ns.
R DBi C
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 82 of 90
M16C/6C Group
5. Electrical Characteristics
P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10
30 pF
Figure 5.17
Ports P0 to P10 Measurement Circuit
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 83 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode (in no wait state setting)
Read timing
VCC1 = VCC2 = 3 V
BCLK td(BCLK-CS)
30ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
30ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 25ns(max.)
th(BCLK-ALE) -4ns(min.)
th(RD-AD)
0ns(min.)
ALE td(BCLK-RD) 30ns(max.) RD tac1(RD-DB) (0.5 x tcyc -60)ns(max.) Hi-Z DBi tsu(DB-RD)
50ns(min.)
th(BCLK-RD)
0ns(min.)
th(RD-DB)
0ns(min.)
Write timing
BCLK td(BCLK-CS)
30ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
30ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 25ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(WR-AD) (0.5 x tcyc -10)ns(min.) th(BCLK-WR)
0ns(min.)
ALE td(BCLK-WR)
30ns(max.)
WR td(BCLK-DB) 40ns(max.) DBi Hi-Z td(DB-WR) (0.5 x tcyc -40)ns(min.) tcyc = 1 f(BCLK) th(WR-DB) (0.5 x tcyc -10)ns(min.) th(BCLK-DB) 0ns(min.)
Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH
Figure 5.18
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 84 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V 5.3.5 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area))
(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.55 Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR) (3) HLDA output delay time 0 (Note 1) (Note 2) 40 0 40 See Figure 5.17 0 30 -4 30 0 25 0 0 (Note 2) 30 Measuring Condition Standard Min. Max. 30 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)
Notes: 1. Calculated according to the BCLK frequency as follows:
9 n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. ( n - 0.5 )x10 ----------------------------------- - 40 [ ns ] -
f ( BCLK )
When n = 1, f(BCLK) is 12.5 MHz or less.
2.
Calculated according to the BCLK frequency as follows:
9 0.5x10 --------------------- - 10 [ ns ] -
f ( BCLK )
3.
This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pullup (pull-down) resistance value. Hold time of data bus is expressed in t=-CR x ln(1-VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = -30 pF x 1 k x In(1 - 0.2VCC2/VCC2) = 6.7 ns.
R DBi C
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 85 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
(in 1 to 3 waits setting and when accessing external area) Read timing
BCLK td(BCLK-CS)
30ns(max.)
VCC1 = VCC2 = 3 V
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
30ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE)
25ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(RD-AD)
0ns(min.)
ALE td(BCLK-RD)
30ns(max.)
th(BCLK-RD)
0ns(min.) {(n+0.5) x t cyc-60}ns(max.)
RD
tac2(RD-DB)
DBi
Hi-Z
tac2(RD-DB) {(n+0.5) x t cyc-60}ns(max.) th(RD-DB)
0ns(min.)
tsu(DB-RD)
50ns(min.)
Write timing
BCLK td(BCLK-CS)
30ns(max.)
th(BCLK-CS)
0ns(min.)
CSi tcyc
td(BCLK-AD)
30ns(max.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE)
25ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(WR-AD)
(0.5 x tcyc -10)ns(min.)
ALE td(BCLK-WR)
30ns(max.)
th(BCLK-WR)
0ns(min.)
WR td(BCLK-DB)
40ns(max.)
th(BCLK-DB)
0ns(min.)
Hi-Z DBi td(DB-WR) {(n-0.5) x tcyc -40}ns(min.) 1 f(BCLK) th(WR-DB)
(0.5 x tcyc -10)ns(min.)
tcyc =
Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH
n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits)
Figure 5.19
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 86 of 90
M16C/6C Group
5. Electrical Characteristics
VCC1 = VCC2 = 3 V 5.3.6 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus))
(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.56 Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus) (5)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) Chip select output hold time (in relation to RD) Chip select output hold time (in relation to WR) RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) th(RD-CS) th(WR-CS) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB)
td(BCLK-HLDA)
Measuring Condition
Standard Min. Max. 50 0 (Note 1) (Note 1) 50 0 (Note 1) (Note 1) 40 0 40
Unit ns ns ns ns ns ns ns ns ns ns ns ns
See Figure 5.17
0 50 0 (Note 2) (Note 1) 40 25
ns ns ns ns ns ns ns ns ns ns ns
td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(AD-ALE) td(AD-RD) td(AD-WR) tdz(RD-AD)
ALE signal output delay time (in relation to BCLK) ALE signal output hold time (in relation to BCLK) ALE signal output delay time (in relation to Address) ALE signal output hold time (in relation to Address) RD signal output delay from the end of address WR signal output delay from the end of address Address output floating start time
-4
(Note 3) (Note 4) 0 0 8
ns
Notes: 1. Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 10 [ ns ] -
f ( BCLK )
2.
3.
Calculated according to the BCLK frequency as follows: 9 ( n - 0.5 )x10 n is 2 for 2 waits setting, 3 for 3 waits setting. ----------------------------------- - 50 [ ns ] f ( BCLK ) Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 40 [ ns ] -
f ( BCLK )
4.
Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- - 15 [ ns ] -
f ( BCLK )
5.
When using multiplexed bus, set f(BCLK) 12.5 MHz or less.
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 87 of 90
M16C/6C Group
5. Electrical Characteristics
Memory Expansion Mode and Microprocessor Mode
Read timing
VCC1 = VCC2 = 3 V
(in 2 or 3 waits setting, and when accessing external area and using multiplexed bus )
BCLK
td(BCLK-CS)
50ns(max.)
th(BCLK-CS) tcyc th(RD-CS) (0.5 x tcyc -10)ns(min.)
0ns(min.)
CSi td(AD-ALE) (0.5 x tcyc -40ns(min.) ADi /DBi th(ALE-AD) (0.5 x tcyc -15ns(min.) tdz(RD-AD)
8ns(max.)
Address
Data input
Address
tsu(DB-RD) tac3(RD-DB) {(n-0.5) x tcyc -60}ns(max.) 50ns(min.)
th(RD-DB)
0ns(min.)
td(BCLK-AD)
50ns(max.)
td(AD-RD)
0ns(min.)
th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 25ns(max.)
th(BCLK-ALE)
-4ns(min.)
th(RD-AD) (0.5 x tcyc -10)ns(min.) td(BCLK-RD) 40ns(max.) th(BCLK-RD)
0ns(min.)
ALE
RD
Write timing
BCLK td(BCLK-CS)
50ns(max.)
tcyc
th(WR-CS) (0.5 x tcyc -10)ns(min.)
th(BCLK-CS)
0ns(min.)
CSi td(BCLK-DB)
50ns(max.)
th(BCLK-DB)
0ns(min.)
ADi /DBi
Address
Data output
Address
td(AD-ALE) (0.5 x tcyc -40ns(min.) td(BCLK-AD)
50ns(max.)
td(DB-WR) {(n-0.5) x t cyc-50}ns(min.)
th(WR-DB) (0.5 x tcyc -10)ns(min.) th(BCLK-AD)
0ns(min.)
ADi BHE
td(BCLK-ALE) 25ns(max.)
th(BCLK-ALE)
-4ns(min.)
td(AD-WR)
0ns(min.)
th(WR-AD) (0.5 x tcyc -10)ns(min.) th(BCLK-WR)
0ns(min.)
ALE td(BCLK-WR) 40ns(max.) WR
tcyc =
1 f(BCLK) n: 2 (when 2 waits) 3 (when 3 waits)
Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH
Figure 5.20
Timing Diagram
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 88 of 90
M16C/6C Group
Appendix 1. Package Dimensions
Appendix 1. Package Dimensions
The information on the latest package dimensions or packaging may be obtained from "Packages" on the Renesas Technology Web site.
JEITA Package Code P-LQFP100-14x14-0.50
RENESAS Code PLQP0100KB-A
Previous Code 100P6Q-A / FP-100U / FP-100UV
MASS[Typ.] 0.6g
HD *1 D
75
51 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.
76
50
bp b1 HE E
Reference Dimension in Millimeters Symbol
*2
c1
c
Terminal cross section
1 Index mark ZD
25 F
ZE
100
26
A2
A
D E A2 HD HE A A1 bp b1 c c1
c
A1
y e
*3
bp
L L1 Detail F
x
e x y ZD ZE L L1
Min Nom Max 13.9 14.0 14.1 13.9 14.0 14.1 1.4 15.8 16.0 16.2 15.8 16.0 16.2 1.7 0.05 0.1 0.15 0.15 0.20 0.25 0.18 0.09 0.145 0.20 0.125 0 8 0.5 0.08 0.08 1.0 1.0 0.35 0.5 0.65 1.0
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 89 of 90
M16C/6C Group
Appendix 1. Package Dimensions
JEITA Package Code P-QFP100-14x20-0.65
RENESAS Code PRQP0100JD-B
Previous Code 100P6F-A
MASS[Typ.] 1.8g
HD *1 80
D 51
81
50 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.
*2
HE
E
Reference Dimension in Millimeters Symbol
ZE
100
31
1
ZD
Index mark
30 F
c
A2
L e y *3 bp x Detail F
D E A2 HD HE A A1 bp c e x y ZD ZE L
Min Nom Max 19.8 20.0 20.2 13.8 14.0 14.2 2.8 22.5 22.8 23.1 16.5 16.8 17.1 3.05 0.1 0.2 0 0.25 0.3 0.4 0.13 0.15 0.2 10 0 0.65 0.13 0.10 0.575 0.825 0.4 0.6 0.8
A
REJ03B0277-0100 Rev.1.00 Jul.15, 2009 Page 90 of 90
A1
REVISION HISTORY
Rev. 1.00 Date Jul 15, 2009 Page -
M16C/6C Group Datasheet
Description Summary First Edition issued.
All trademarks and registered trademarks are the property of their respective owners. IEBus is a registered trademark of NEC Electronics Corporation. HDMI and High-Definition Multimedia Interface are registered trademarks of HDMI Licensing, LLC.
A- 1
Sales Strategic Planning Div.
Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries.
RENESAS SALES OFFICES
Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145
http://www.renesas.com
Renesas Technology Malaysia Sdn. Bhd Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510
(c) 2009. Renesas Technology Corp., All rights reserved. Printed in Japan.
Colophon .7.2


▲Up To Search▲   

 
Price & Availability of R5F36CAMDFA

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X